Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
tinyMCE removing html
System
visual editor box is removing html elements when updating the text, i added the removed elements to the valid_elements: variable in the file tiny_mce_src.js, is there another place that those values must be enable? or do i need to restart the server for the changes to take effect,
i greatly appreciate your input.
thank you
Find more posts tagged with
Comments
Rick Poulin
You probably want to change extended_valid_elements instead. No restart required for formspub's custom_config.js (although your browser's cache may be hanging on to the file); sitepub build IS required for customer-teamsite-resource-config.xml
Migrateduser
I am modifying the file: tiny_mce_src.js but it is not taking any change, this is the code i am adding to the visual editor window:
p Pool Collection p
div id="pool" class="resultsList collectionResults" data-address="false" data-collection="amenity_pool"
h2 Loading...h2
div
and it is turning into:
p Pool Collection /p
div id="pool" class="resultsList collectionResults">
h2 Loading... h2
div
it is removing data-address and data-collection attributes
Rick Poulin
This is not a supported way to alter the RTE configuration. You have to modify one or both of the files I mentioned above. These are documented in their respective dev guides.