Here's a strange one...

I'm editing my privacy policy page in CMS>pages and copy/pasting the text out of notepad++, then formating with the wysiwyg editor in magento, then cleaning up the html that the editor leaves dotted around.

I copy/pasted all the text and clicked "Save and Continue Edit" and after a pause of a few seconds I am returned to the list of CMS pages - if i then click the privacy policy to edit it again, the changes are not there.

So, i thought there must ba an odd character that i've not spotted, a line to long or some formatting issue that's causing the problem so I began pasting in the text bit by bit until i found the part that was causing it not to save.

when I narrowed that down more and more and even typed the text directly in to the editor rather than pasting it it turns out that the word "update" cause the edit to fail! "updat" and "updat e" are fine but if I put "update" ANYWHERE on the page, the edit will fail.

  • Sounds like the Magento protection for XSS (Cross-Site-Scripting) taking part of your saving process.
    – Ekk4rd
    Oct 25, 2019 at 11:45
  • The fact that it is kicking you back to the list rather than the current page as "Save and Continue Edit" should do suggests that an exception is being thrown. Checking the Magento exception log and webserver error log may give you more specific info about what is happening.
    – jiheison
    Oct 26, 2019 at 1:40
  • took a look at the exception log and there is nothing in there... Oct 31, 2019 at 14:05

1 Answer 1


Maybe try to take a look into the tiny_mce setup.js located in


This file is the setup script for some of the XSS protection in Magento cms blocks and pages. As far as i know there are listed HTML element names, which are valid inside a CMS-block, others are getting removed. I don't think that this is also for other keywords inside the block, but just for the tag-filter, but maybe this is a point to start researching for the problem.

  • thanks - took a look at the file and, sadly, its way beyond my knowledge .... - I'll live without the word update for now :) Oct 25, 2019 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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