gdorigo Posted January 14, 2021 Share Posted January 14, 2021 (edited) Hi guys, I am using prestashop 1.7.7.1 and i would need to modify the TinyMce editor on CMS pages by adding some features like allowing the editor to save complex html with CSS and javascript. I have tried to follow various paths but I can not do it in any way. For example modifying valid_children: "+body[style|script|iframe|section],pre[iframe|section|script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]" in the js/admin/tinymce.inc.js file it enable CSS tags only on product pages. can someone help me? thanks giuseppe Edited January 15, 2021 by gdorigo (see edit history) 1 Link to comment Share on other sites More sharing options...
Ksaros Posted February 8, 2021 Share Posted February 8, 2021 Hi, did you solve the problem? Link to comment Share on other sites More sharing options...
gdorigo Posted February 8, 2021 Author Share Posted February 8, 2021 6 hours ago, Ksaros said: Hi, did you solve the problem? No.... I'm waiting for some advice from the community Link to comment Share on other sites More sharing options...
datshay Posted March 14, 2021 Share Posted March 14, 2021 Edit this file : your_admin_folder/themes/new-theme/public/cms_page_form.bundle.js 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