We are attempting to turn off all the content stripping perfromed by the editor with the folling code:
- cm_htmlcontent.EnableStripIframeTags = false;
- cm_htmlcontent.EnableStripLinkTagsCodeInjection = false;
- cm_htmlcontent.EnableStripScriptTags = false;
- cm_htmlcontent.EnableStripStyleTagsCodeInjection = false;
However stylesheet links such as this one are still being stripped away:
- <link rel="stylesheet" href="http://www.whatever.com/whatever.css" />
It looks like the settings in my C# code are being ignored.
In order to investigate this problem further, I modified my ASPX code to look like this:
<CE:Editor id="cm_htmlcontent"
AutoConfigure="None"
BreakElement="Br"
EnableBrowserContextMenu="false"
EnableContextMenu="true"
EnableViewState="false"
FullPage="true"
EnableStripIframeTags="false"
EnableStripLinkTagsCodeInjection="false"
EnableStripScriptTags="false"
EnableStripStyleTagsCodeInjection="false"
runat="server" />
and it worked! My CSS links are no longer stripped. Is it normal that settings the 4 properties in my C# code does not work?