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

Bullet and Number list has an issue

2 Answers 57 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Scott Michetti
Top achievements
Rank 1
Scott Michetti asked on 16 Jun 2014, 07:01 PM
Hello,
I'm having an issue with the number and bullet list setting the bullet to the previous line. Here's my steps:

1. Navigate to the demo. http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
2. Click on the HTML tab and remove all the HTML.
3. Click back on the Design tab.
4. Type in "Hello There." Press Enter key.
5. Type in "Hello There Again" 
6. Cursor is now on the second line. Click either the number list button or the bullet list button on the toolbar.
7. Bullet or Number goes to the first line, not the second line and both lines are indented.

It should have just set the second line. Is this a known bug?

Thanks,
Scott

2 Answers, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 17 Jun 2014, 07:50 AM

Hello Scott,

This matter is happening due to improvements regarding the block commands. When the NewLineMode is set to Br, the new lines are represented as carriage returns and does not form a block element. Die to that triggering a block commands transforms the whole content as one block element and consider it as one.

More details on this matter is available in these materials:

I would like also to inform you that due to requests fro more consistent and MS Word-like behavior the default NewLineMode value will be changed to P. 

Also, to gain a behavior as per to your request I suggest changing the NewLineMode to P.

Regards,

Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Scott Michetti
Top achievements
Rank 1
answered on 17 Jun 2014, 01:45 PM
Thanks for the quick response Ianko. Changing NewLineMode to P fixed the issue.
Tags
Editor
Asked by
Scott Michetti
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Scott Michetti
Top achievements
Rank 1
Share this question
or