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

Rad Editor unexpected behavior on Chrome

1 Answer 72 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ankur
Top achievements
Rank 1
Ankur asked on 15 Oct 2012, 08:49 AM
Hello,

in addition to following post:
http://www.telerik.com/community/forums/aspnet-ajax/editor/overide-telerik-web-ui-editor-commandlist-inserttab-not-working-in-chrome-safari.aspx

i am having another issue with Rad Editor and that is:
NewLineBr = "false" (due to other bugs on IE)

now using CHROME, when is type following in content area:
a
b
c
d

on "inspect element" i found it to be:
<p>a</p>
<p>b</p>
<p>c</p>
<p>d</p>

now when i click "Bullet List" tool bar button it become:
<UL>
<li>a</li>
<li>b</li>
<li>c</li>
<li>d</li>
</UL>

so far its good, but when i click "Bullet List" toolbar button gain, it become:
a
<br/>
b
<br/>
c
<br/>
d

the issue here is i need to reapply <p> tags again as it was before hittin "Bullet List" button first time.

Any/All help will be appreciated.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 Oct 2012, 02:39 PM
Hello,

The NewLineBr (obsolete) and NewLineMode properties apply only to the Enter key command and they have nothing to do with the InsertOrderedList and InsertUnorderedList commands. The observed behavior is browser one and it can be reproduced in an editable div/iframe element. The browser always separates the bullet lines with <br /> tags when removing the bullet formatting from the selected text.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Ankur
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or