How do I turn off codetidy in TinyMCE editor in Umbraco?
I am running Umbraco 4.5.2. In config/umbracosettings I have made the change
<TidyEditorContent>False</TidyEditorContent>
In TinyMCEConfig I have de开发者_开发百科leted the valid elements and replaced with
<validElements><![CDATA[*[*]]]></validElements>
I have gone into web.config, added a space and resaved - to get Umbraco to reload the config files.
In Umbraco when I add content, it is still being 'tidied' and stripping out tags that I want left in. I just want to turn the code tidy off completely.
You have to explicatively define the valid elements in the validElements section in the TinyMCE config. The behavior you are experiencing is not related to Tidy.
精彩评论