I currently have a situation where i need to insert some meta information into my HTML content, that isn't valid HTML syntax. Ultimately this information gets removed before the final product is visible to public users and the HTML will be valid, but internal users creating the document need to be able to enter this information and not have the RadEditor rewrite it when switching between design and html view.
An example would be something like this:
<table>
[BeginRepeater]
<tr>
<td> something here</td>
</tr>
[EndRepeater]
</table>
When i switch to design mode this HTML gets re-written to look like this:
[BeginRepeater]
[EndRepeater]
<table>
<tr>
<td> something here</td>
</tr>
</table>
So my question is this, is there a way to disable or turn off this html rewrite?
my Editor tag looks like this:
<telerik:RadEditor ID="EMailContentEditor" runat="server" Skin="Web20" Width="95%" ContentFilters="RemoveScripts,IndentHTMLContent" ConvertToXhtml="false" ConvertFontToSpan="false" ExternalDialogsPath="/EditorDialogs" EditModes="Design,Html" Height="600px" OnClientCommandExecuting="OnClientCommandExecuting" OnClientLoad="OnClientLoad">
Regards,
-Mark
An example would be something like this:
<table>
[BeginRepeater]
<tr>
<td> something here</td>
</tr>
[EndRepeater]
</table>
When i switch to design mode this HTML gets re-written to look like this:
[BeginRepeater]
[EndRepeater]
<table>
<tr>
<td> something here</td>
</tr>
</table>
So my question is this, is there a way to disable or turn off this html rewrite?
my Editor tag looks like this:
<telerik:RadEditor ID="EMailContentEditor" runat="server" Skin="Web20" Width="95%" ContentFilters="RemoveScripts,IndentHTMLContent" ConvertToXhtml="false" ConvertFontToSpan="false" ExternalDialogsPath="/EditorDialogs" EditModes="Design,Html" Height="600px" OnClientCommandExecuting="OnClientCommandExecuting" OnClientLoad="OnClientLoad">
Regards,
-Mark