Home
TeamSite
TinyMCE Stripping HTML tags
Rojesh
Is there a way to disable TineyMCE auto reformatting? It seems like it is stripping out html tags and javascript.
Thanks in advance for any pointers.
Find more posts tagged with
Comments
Rick Poulin
You can't turn it off in IWOV's version of it, but you can extend the set of elements that are considered "valid". The default set is more or less the same as the default here:
http://tinymce.moxiecode.com/wiki.php/Configuration:valid_elements
What you want to do is specify your own set of elements and attributes you want to keep by using either the valid_elements key or extended_valid_elements. For FormsPub, edit iw-home/httpd/iw/tinymce/config/custom_config.js. For SitePub, it's customer-teamsite-resources.xml or something similar, under iw-home/local/config/lib/content_center/livesite_customer_src.