ignite-ui icon indicating copy to clipboard operation
ignite-ui copied to clipboard

When pasting numbered list from Word to igHtmlEditor, the numbers are missing

Open Lipata opened this issue 4 years ago • 1 comments

Description

When pasting numbered list from Word to igHtmlEditor, the numbers are missing. When applying the numbered list from the HTML editor menu, then the numbers are duplicated.

  • ignite-ui version:
  • browser:

Steps to reproduce

  1. Open the following sample: https://www.igniteui.com/html-editor/custom-icons-and-styles
  2. Paste the following content (from Word):

Book one: 1. A Long-expected Party 2. The shadow of the Past 3. Three is company

  1. Then apply the numbering (because the numbers are missing after the paste)

Result

After 2. the numbers are not shown. After 3. the numbers are shown twice

Expected result

After 2. the numbers are shown

Lipata avatar Jun 02 '21 14:06 Lipata

When clicking the ViewSource button, you can see that the generated HTML is too much and contains unnecessary spaces.

Lipata avatar Jun 03 '21 14:06 Lipata