Is there any possible way to prevent
<span> tags from being stripped from a Redactor field? I've tried all I can using custom Redactor and HTMLPurifier configs to no avail.
Basically what I'm trying to do long-term is replace heading tags like
<span> and then apply the same styling as the heading tags, perhaps by applying classes to the
<span>s and going from there.
Things I've tried to no avail:
- Added "allowedTags" rule to Redactor config
- Added "HTML.Allowed" rule to HTML Purifier config
- Disabled HTML Purfier for field altogether
"paragraphize": falseto Redactor config
The only resource I've found regarding this is this question from 3 years ago. Haven't had any luck with those suggestions either. Thanks in advance!