Reputation: 21
Im using TinyMCE richtext editor on Umbraco website. but when i tried to add any section tag and save, it will remove it automatically.
Eg : <section class='cls'>test content</section>
Anyone knows how to prevent it ?
i've tried => extended_valid_elements: 'section[!class]' also not working for me
Upvotes: 0
Views: 332
Reputation: 150
Allow the section tag with class attribute by going to config/tinymceconfig.config.
Look for validElements
setting and include "section[class]".
You might also need to retouch and re-save your web.config in order for new settings to take effect.
Upvotes: 1