Google Chrome & IE Differences

2 posts, 0 answers
  1. loowool
    loowool avatar
    60 posts
    Member since:
    Sep 2006

    Posted 07 Jun 2010 Link to this post

    Dear Telerik,

    We're facing 2 problems that can be reproduced on your demo site: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

    A. Delete All in Chrome keeps HTML Tags
    1) Open the above demo page Using IE (Internet Explorer 8)
    2) Select all text found in the memo with Ctrl-A or through the Context menu
    3) Press Delete to delete All
    4) Click on the HTML view, you'll see NO HTML left
    5) Repeat the above in Goggle Chrome (latest version 5.something)
    6) Click on the HTML view, you'll see some HTML left:
    <div style="text-align: center;"><br /> 
    <br /> 
    </div> 


    B. New Lines as Paragraphs in Chrome Generates <br /> tags
    1) Open the above demo page Using IE (Internet Explorer 8)
    2) Select all text found in the memo with Ctrl-A or through the Context menu
    3) Press Delete to delete All
    4) Click on the Design view
    5) Select New Lines as Paragraphs option on the side
    4) Type 1 then press Enter 2 times then type 2
    5) Click the Html view, you'll see:
    <p>1</p> 
    <p>&nbsp;</p> 
    <p>2</p> 
    6) Now Repeat the above in Goggle Chrome
    7) Click on the HTML view, you'll see some HTML left, delete it, so you start with an empty editor
    8) Click on the Design view
    9) Select New Lines as Paragraphs option on the side
    10) Type 1 then press Enter 2 times then type 2
    11) Click the Html view, you'll see:
    <p>1</p> 
    <p><br /> 
    </p> 
    <p>2</p> 
    The above 2 problems ares causing us some troubles because of the different behaviour between IE and Chrome.

    Please advise on how to solve them.

    Regards,
    Salah A. Malaeb
    TeknoBuild
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 10 Jun 2010 Link to this post

    Hi Salah,

    Straight to the points:
    1) The first problem is Chrome /Safari WebKit related. The editor uses the rich text editor commands such as SelectAll (Ctrl+A) to select the whole content, but in Chrome and Safari this command does not work aleays as expected. You can reproduce the issue using the content from RadEditor in a standard editable IFRAME / DIV element as well as in our competitors' editors.

    This problem should be fixed by the WebKit developers.

    2) Thank you for reporting this behavior. I logged it in the PITS system with ID 2381 and we will try to fix it for a future version of RadEditor. I also updated your Telerik points for your feedback.

    Best regards,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top