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

RadEditor in Opera doesn't preserve new line>

2 Answers 44 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 2
Robert asked on 30 May 2010, 08:47 PM
Hello,

I have issue with RadEditor in Opera browser. When I press 'enter' button in Design mode and then switch to HTML and again back to Design, new line is lost. The same is when I do the above and press e.g. Save button (RadEditor inside FormView bound to some db field), new line is lost.

This can be easily reproduced here:

http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

press enter with cursor placed after 'tons of features:'
switch to HTML and back to design

I tried it with Opera 10.53 and RadControls Q1 2010

I also tried to switch NewLineBr=true/false but no success.
Is there any workaround for this?

Thanks,
Robert

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 May 2010, 04:11 PM
Hi Robert,

I was unable to reproduce the problem, but could you please disable the FixEnclosingP and test again:

RadEditor1.DisableFilter(Telerik.Web.UI.EditorFilters.FixEnclosingP);

Sincerely yours,
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.
0
Robert
Top achievements
Rank 2
answered on 01 Jun 2010, 02:04 PM
Hello Rumen,

thanks for reply, I found that Opera inserts <p></p> when enter key is pressed and this is correctly preserved after switching to html/design modes. However Opera doesn't render <p></p> as new line like other browser do, despite of in design mode new line is inserted.

This is confusing for user, doesn't matter how many times he presses enter, when he goes to HTML and back to Design, the text is back where it was before editing.

Your workaround seems to work. Hope it will help others too.

Best regards,
Robert
Tags
Editor
Asked by
Robert
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Robert
Top achievements
Rank 2
Share this question
or