Incorrect "font" tag generating in Internet Explorer

Last post 08-26-2013, 2:29 PM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  07-12-2013, 6:37 AM 77723

    Incorrect "font" tag generating in Internet Explorer

    Hi Everyone,

     

    I am facing an issue in IE on SPAN tags whose class is defined.

     

    When I am using the "Highlight" feature on some text, a span tag is created in the HTML like below :

    <SPAN style="BACKGROUND-COLOR: yellow">programming</SPAN> 

     

    If we place the cursor just after the span and detete the highlighted text using BACKSPACE, and then enter some text there, a font tag is created. The HTML appears as below :

    <FONT style="BACKGROUND-COLOR: #ffff00">TESTING</FONT>

     

    This issue is occurs only on IE(Internet Explorer) whereas Firefox retains the span.

     

    Can anyone assist me with this issue?

     

    Regards,

     

    Biswajit Majumdar

    Filed under:
  •  07-12-2013, 12:30 PM 77725 in reply to 77723

    Re: Incorrect "font" tag generating in Internet Explorer

    Hi BiswajitMajumdar,

     

    I can not reproduce this issue on my IE10. Do you get the same problem on http://cutesoft.net/example/general.aspx? What IE version you are testing?

     

    Regards,

     

    Ken 

  •  08-26-2013, 1:38 PM 77914 in reply to 77725

    Re: Incorrect "font" tag generating in Internet Explorer

    Hi Kenneth,

     

    The issue is occurring on IE8 (Windows XP). Yeah, it is also occuring on  http://cutesoft.net/example/general.aspx

     

    STEPS :

     

    1 Select some text.

    2 Apply Highlight on it.

    3 Place the cursor just after the highlighted text.

    4 Press BACKSPACE until the highlighted text is completely deleted.

    5 Enter some text at that point.

     

    Perhaps it would have been more clear if I had an option to attach the screenshot here.

     

    Regards ,

     

    Biswajit Majumdar

  •  08-26-2013, 2:29 PM 77916 in reply to 77914

    Re: Incorrect "font" tag generating in Internet Explorer

    Hi BiswajitMajumdar,

     

    Try set property UseFontTags to true, then it should keep the same target in your situation.

     

      <CE:Editor ID="Editor1" runat="server" Height="500" UseFontTags="true">        </CE:Editor> 

     

    Regards,

     

    Ken 

View as RSS news feed in XML