Editor adding 'innerHtml' to HTML tags in IE

4 posts, 0 answers
  1. Jay Larson
    Jay Larson avatar
    2 posts
    Member since:
    Nov 2005

    Posted 21 Apr 2014 Link to this post

    I updated the Editor control to the 2014 Q1 .NET 4.0 version. Now when we decide to bold or underline any text, the selection length will be reduced by one character each time.

    We first noticed it with content in the 29k size range of markup text, but I have been able to duplicate it with less than 4k of text.

    I have no special settings on the control, but have added:
    ContentFilter="None"  - no change
    RegisterWithScriptManager="true"   - no change

    I have also noticed that in the HTML markup 'innerHtml' was added to the tags being used:
    <STRONG innerHtml>T</STRONG>
    ​<SPAN style="TEXT-DECORATION: underline" innerHtml>E</SPAN>

    This only happens in Internet Explorer version 8 - 11. Works as intended in Firefox or Chrome.

    Pic 1 - Initial entry
    Pic 2 - Text Selected
    Pic 3 - Bold button clicked
    Pic 4 - Bold button clicked again(unbolding selection)
    Pic 5 - Bold button clicked again(bolding selection)
    Pic 6 - Bold button clicked again(unbolding selection again)



    Any ideas?

    Jay




  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Apr 2014 in reply to Jay Larson Link to this post

    Hi Jay Larson,

    Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end. Provide a sample code if it doesn't help.

    ASPX:
    <telerik:RadEditor ID="RadEditor1" runat="server" ContentFilters="None" RegisterWithScriptManager="true">
         <Content>
    (1)Print w/1 Poster per month : (MULTIPLE-YEAR SERVICE RATES)
         </Content>
     </telerik:RadEditor>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jay Larson
    Jay Larson avatar
    2 posts
    Member since:
    Nov 2005

    Posted 22 Apr 2014 in reply to Princy Link to this post

    thanks for checking.

    I know that it does not happen on all of the entries that we have.
    The one thing that I do know is that the data in question has an abundance of non-breaking spaces. (the content editors like to format with spaces)

    Is there a way I can get you the text for testing? The file attachment does not allow text.


    Jay
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Apr 2014 in reply to Jay Larson Link to this post

    Hi Jay Larson,

    Please provide a sample code where I can replicate the issue for further help.

    Thanks,
    Princy.
Back to Top