Jump to content

Prestashop 1.7 : Is it possible to disable TinyMCE in CMS pages


Bruno G
 Share

Recommended Posts

Hi,

When I create a page in CMS, all the "data-target", "data-toggle", "aria-expanded".... attributes from Bootstrap are removed and not even saved in database.

Since I don't want to directly save my content in database, I wanted to know  if there is a way to disable this annoying plugin that modify my HTML without asking me for permission. I believe its TinyMCE but not sure about it.

The tinyMCE js file is minified and I don't know how to configure it, and all the answers I have found about it are too old.

Thank you

 

Edit : It works by disabling "HTMLPurifier" libray in general settings of the shop, but does it disable it only for back-office or also in front office ?

Edited by Bruno G (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

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