You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Additional info
The text was updated successfully, but these errors were encountered: