Declined
Last Updated: 20 Jan 2020 09:29 by ADMIN
Ludwig
Created on: 20 Sep 2019 17:30
Category: Editor
Type: Bug Report
1
Copied In Hierarchical Bullets are Malformed

There is an issue when you copy /paste a bullet list from a Microsoft word document.

  • The numbers are not correct (See attached screenshot)
  • If you started a new line you don't get a new number for that hierarchical level. Instead, you just get a new line.

Attached Files:
3 comments
ADMIN
Ivan Danchev
Posted on: 20 Jan 2020 09:17

Hello,

We are closing this bug report, since it is about missing functionality, for which a related feature request item has been created.

Regards,
Ivan Danchev
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
ADMIN
Ivan Danchev
Posted on: 01 Oct 2019 15:29

Hello Ludwig,

We've logged a feature request on your behalf: https://feedback.telerik.com/aspnet-core-ui/1432267-multilevel-lists-support-in-the-editor

Hierarchical lists can be created in the Editor by using the "Indent" tool. Similarly, lists created using this approach in Word (with its own "Increase Indent" tool) and then pasted in the Editor also work as expected - items can be added in the nested lists and proper numeration is applied to the newly added items in the child lists.

However, multilevel lists created by the "Multilevel List" tool in Word are not supported. There is no tool in the Editor that offers equivalent functionality as the "Multilevel List" tool in Word.  As a result, with regard to the nested lists the Editor acts like a standard div element with contenteditable=true (see this dojo example) and renders <p> tags in place of the lower level <ol> and <li> tags.

 

Regards,
Ivan Danchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
ADMIN
Ivan Danchev
Posted on: 27 Sep 2019 15:55

Hello Ludwig,

I tested the described scenario and at my end the hierarchical list is pasted correctly and the numbers are as they are in Word: see this screencast. When the cursor is within a nested list item and you enter an new line a new list item is added for the parent list. This is because when nested lists are pasted in the Editor, it is only the first level that is rendered as an ordered list (ol). As can be seen in the linked screencast, the nested list items are rendered as <p> elements within the li elements of the ordered list. Since there is only one actual list rendered a new line creates a new list item in it.

I will discuss this behavior with the team and will get back to you with more details on whether there is something we can do with regard to how the nested lists are rendered.

Regards,
Ivan Danchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.