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

2 posts, 0 answers
  1. Jim
    Jim avatar
    14 posts
    Member since:
    Aug 2013

    Posted 08 Jan 2015 Link to this post

    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
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 13 Jan 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top