This is a migrated thread and some comments may be shown as answers.

RadEditor adding tags I did not input and don't need

1 Answer 40 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 08 Jan 2015, 08:28 PM
This is related to my last post which was solved:
http://www.telerik.com/forums/radeditor-stripping-html-tags-i-need

The problem I am having is that it is adding <script> tags to the <head> tag based on other <script> tags in the document.
Also it is encoding scripts that I have in the page .. these are in  /* <![CDATA[ */ tags.
Why is the control doing this.

I just want to be able to put ANYTHING in the editor and save it WITHOUT the control changing or adding anything.  I don't think this is an unreasonable request.  I am trying to build a CMS system and I keep having to fight this control.  Please help.  How do I get the editor to stop automatically changing my entries?
This is the HTML for my RadEditor:
 
<telerik:RadEditor ID="reContent" runat="server" Skin="Office2010Blue" Height="850px" Width="100%" StripFormattingOptions="MSWordRemoveAll"<br>                                EmptyMessage="Add Content Here - Content is Required" NewLineMode="Br" OnClientLoad="OnClientLoad" ContentFilters="None"><br>                            </telerik:RadEditor>


In the code-behind I have this associated with it:
Me.reContent.DisableFilter(EditorFilters.RemoveScripts)
Me.reContent.EnableFilter(EditorFilters.None)


Thanks,
Jim

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 13 Jan 2015, 07:29 AM
Hello Jim,

Could you please send a sample project that demonstrates the encountered issue, as the configuration seems to be working fine on my end?

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Jim
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or