Ok i added a 'span' tag in the the html view and then when you save and publish it doesnt save the 'span' tag.
Is there someway to disable the html cleaner thingy?
I am having the same issue. I need to be able to insert an iframe in the tinyMCEditor so that I can insert the YouTube embedded player snippits.
I have partial success, but not a complete fix yet.
At first tinyMCE would not accept the iframe at all. I found in the tinyMceConfig.config file a block of elements called "validElements" and I added the iframe and the necessary parameters. This defintely helped (cycle your app pool to apply the new settings), because now I can insert the code in the source view of TinyMCE and it will apply it to the preview area. Howeve when I save to Umbraco the iframe is still purged.
I think there is an additional HTML sanitizer in the works somewhere.
I found that there is an additional HTML sanitizer being used. It is TidyNET.dll. It can be disabled in the Umbraco.config.
I am not sure if there is any way to update the whitelist for Tidy so that we don't have to completely disable it. If anyone does know a way to update the Tidy whitelist, that would be very helpful!
TinyMce Removing Html Tags
Ok, My Problem is that when html tags are put into tinymce html view it removes the html tags :(
Thanks in advance if you can help me :)
Thanks,
Wade
Hi Wade,
TinyMCE cleans up invalid xhtml, and your html is probably not valid in that way. tinyMceConfig.config in the config folder holds a
Hi Dirk,
I had a look at the config file and the tag i wanted to put in was there 'span'
Thanks,
Wade
Anyone?
Could you give an example of the HTML content before and then after, so we can see more clearly what is happening?
Ok i added a 'span' tag in the the html view and then when you save and publish it doesnt save the 'span' tag.
Is there someway to disable the html cleaner thingy?
I am having the same problem. Did you find a solution for that?
I am having the same issue. I need to be able to insert an iframe in the tinyMCEditor so that I can insert the YouTube embedded player snippits.
I have partial success, but not a complete fix yet.
At first tinyMCE would not accept the iframe at all. I found in the tinyMceConfig.config file a block of elements called "validElements" and I added the iframe and the necessary parameters. This defintely helped (cycle your app pool to apply the new settings), because now I can insert the code in the source view of TinyMCE and it will apply it to the preview area. Howeve when I save to Umbraco the iframe is still purged.
I think there is an additional HTML sanitizer in the works somewhere.
Hmm.... my last post seems to have been dropped.
I found that there is an additional HTML sanitizer being used. It is TidyNET.dll. It can be disabled in the Umbraco.config.
I am not sure if there is any way to update the whitelist for Tidy so that we don't have to completely disable it. If anyone does know a way to update the Tidy whitelist, that would be very helpful!
Mark
is working on a reply...