PrestashopLearner Posted August 12, 2021 Share Posted August 12, 2021 If I try to add/update a product, CMS Page, any entity and I use inline CSS or some special chars in the tinymce editor's "code source" I get 404 Not Found. Otherwise, business as usual. Enabling Debug Mode is not showing anything helpful. The only errors I get are the Not Found seen in Network tab and some JSON parsing error: If someone recognizes the issue or has an idea about a potential originating cause, I would appreciate. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 12, 2021 Share Posted August 12, 2021 @PrestashopLearner Can you post your code what you put inside the editor. It is better not to add any js or css code in cms page , you can add that in custom.css or using any module like Thank you Link to comment Share on other sites More sharing options...
PrestashopLearner Posted August 12, 2021 Author Share Posted August 12, 2021 (edited) 36 minutes ago, SmartDataSoft said: @PrestashopLearner Can you post your code what you put inside the editor. It is better not to add any js or css code in cms page , you can add that in custom.css or using any module like Thank you Thank you for your answer. This would be an example: <p style="color:black;"> test </p> Inserting this in PS's tinymce editor would give me an 404 from the ajax POST. If I remove the style attribute I would receive a 200, success. I compared the requests side by side, no difference (other than "style='color:black;'" from the product description field, of course). I'm thinking this could be a server related issue? Edited August 12, 2021 by PrestashopLearner (see edit history) Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 12, 2021 Share Posted August 12, 2021 PrestaShop tiny mce has some restriction to allow html content save. you can check this option is enable or disable in your shop https://prnt.sc/1nizu1e Hosting some time restricted to save html content in database for security issue. Thank you 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