Skip to content

paste-from-office: Losing indent level for nested lists of different type (numbered, bullet) #7805

Closed
@mmichaelis

Description

📝 Reproduction Steps

  1. Created a nested list in MS Word (Office 365) as follows:

    • Lorem
    • Ipsum
      1. Dolor
      2. Sit
    • Amet

    See Copy-Paste-Mixed-List-Issue-CKEditor.docx (first list shows error; second list works).

  2. Copy the entire list

  3. Paste it for example to CKEditor 5 demo

✔️ Expected result

Just as all other nested lists (even for mixed outer numbered, inner bullet) the nested indentation levels should be kept as is.

❌ Actual result

Indentation level of nested list is set to 0:

  • Lorem
  • Ipsum
  1. Dolor
  2. Sit
  • Amet

📃 Other details

  • Browser: Chrome
  • OS: Windows 10
  • Office: MS Word; Office 365
  • CKEditor version: Most recent (CKEditor 5 demo) as well as custom using "@ckeditor/ckeditor5-paste-from-office": "^20.0.0"
  • Installed CKEditor plugins: "@ckeditor/ckeditor5-paste-from-office": "^20.0.0"

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Metadata

Assignees

Labels

package:listpackage:paste-from-officesquad:coreIssue to be handled by the Core team.support:3An issue reported by a commercially licensed client.type:bugThis issue reports a buggy (incorrect) behavior.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions