-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
Description
I want to add <script> tags on the redactor field. When the admin adds content they can able to add content with some of the script.
But when I tried to add a script tag it would automatically removed from the editor. So what should I do to not remove the <script> tag?
Steps to reproduce
- Open the page editor from the admin panel.
- Go edit some content using the redactor field.
- Open HTML code edit mode in the redactor field and add content with script tags.
- But It gets stripped when switching HTML mode to visual.
Additional info
- Craft version: 3.8.16
- PHP version: 7.4.19
- Database driver & version: MySQL 5.7.33
- Plugins & versions: 2.10.12