1

I'm using Craft 3.x. I'm using the Redactor plugin in Craft. I have an HTML with an article tag (HTML tag). As soon as I save it, Redactor strips the article tag because of which UI goes for toss.

. . .

After saving, It simply removes these tags and keeps the inner tags.

  • I disabled the Purify HTML option and it allowed me to save article tags. Is there a way that purify option is enabled and plugin allows me to save article tags – Deepak Kale Sep 9 at 5:40
0

You can specify custom HTML Purifier configs so that it will allow article tags and the Redactor fields will respect the configs.

See: https://github.com/craftcms/redactor#html-purifier-configs

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.