web-design-milano Posted April 23, 2017 Share Posted April 23, 2017 I would like to add a short javascript code to a CMS Page. But when I save the page, I get kicked out of the page edit and an error message "The content field is invalid." I have allow iframes ON, and HTML purifier OFF. Is there any way to allow <script> in pages? Thanks Link to comment Share on other sites More sharing options...
antoniopuglisidbcz10 Posted June 1, 2017 Share Posted June 1, 2017 I've got more or less the same problem: I've extended the TinyMCE Editor using the MyPresta tutorial but my JS Script keeps being wrapped in CDATA tags who I think are commenting out the JS Code. Tried a lot of stuff and nothing worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now