Jump to content

Edit History

gdorigo

gdorigo

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

gdorigo

gdorigo

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 add CSS tags only on product pages.

 

can someone help me?

thanks

giuseppe

gdorigo

gdorigo

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 the js/tiny_mce/tiny_mce.js file only changes on product pages.

 

can someone help me?

thanks

giuseppe

×
×
  • Create New...