Jump to content

Customize TinyMce on CMS pages


gdorigo
 Share

Recommended Posts

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 by gdorigo (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

  • 4 weeks later...
  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More