invalid_elements
-
Hi Andrew,
I am trying to add some tags to invalid list so tinymce removes these tags when the page saved/updated, but does not work.
This is the code below i found on tinymce website: https://www.tinymce.com/docs/configure/content-filtering/#invalid_elements
tinymce.init({
selector: ‘textarea’, // change this value according to your HTML
invalid_elements : ‘strong,em’
});I tried these option in your plugin:
invalid_elements | {selector: ‘textarea’, invalid_elements : ‘strong,em’}
invalid_elements | [{selector: ‘textarea’, invalid_elements : ‘strong,em’}]
invalid_elements | ‘strong,em’
invalid_elements | strong,emLeft side of the pipe “|” is option name field, right side is in the Value field.
I am trying to disable and tags in above code.
I would really appreciate any help!
Thanks!!!
https://www.ads-software.com/plugins/advanced-tinymce-configuration/
- The topic ‘invalid_elements’ is closed to new replies.