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

Google Chrome & IE Differences

1 Answer 113 Views
Editor
This is a migrated thread and some comments may be shown as answers.
loowool
Top achievements
Rank 2
loowool asked on 07 Jun 2010, 11:51 AM
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

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Jun 2010, 07:35 AM
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.
Tags
Editor
Asked by
loowool
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or