Opened 3 years ago

Closed 2 years ago

#16745 closed Bug (fixed)

[Edge] List items are lost when pasted from word

Reported by: Marek Lewandowski Owned by: Tade0
Priority: Nice to have (we want to work on it) Milestone: CKEditor 4.6.2
Component: Plugin : Paste from Word Version:
Keywords: Support Cc:


Use attached .docx file.

  1. Open CKEditor samples/index.html.
  2. Open the attached docx file (I did it with Word 365).
  3. Select all the content in Word and copy it to the clipboard.
  4. Go back to CKEditor, focus it and paste.

Expected result

List items are not lost.

Actual result

List items are stripped.

Other details (browser, OS, CKEditor version, installed plugins)

Word 365

Attachments (1)

MixedListsAndParagraphs.docx (13.1 KB) - added by Marek Lewandowski 3 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 3 years ago by Marek Lewandowski

Keywords: Support added
Status: newconfirmed

Changed 3 years ago by Marek Lewandowski

comment:2 Changed 3 years ago by Marek Lewandowski

I've pushed branch:t/16745 with a fixture and failing test for this.

comment:3 Changed 3 years ago by Marek Lewandowski

Milestone: CKEditor 4.6.2

comment:4 Changed 3 years ago by Tade0

Owner: set to Tade0
Status: confirmedassigned

comment:5 Changed 3 years ago by Tade0

Problem here is that lists recognized as pasted from Word are converted in the filter into an internal representation familiar to the functions that process it afterwards.

This converting procedure, when encountering a simple HTML list without Word-specific markup removes it entirely.

comment:6 Changed 3 years ago by Tade0

This ticket requires ticket:16682 to be merged to master before proceeding.

comment:7 Changed 2 years ago by Marek Lewandowski

Resolution: fixed
Status: assignedclosed

After fixing #16682, and rebasing current branch:t/16745 onto master it works well.

  • Added manual test.
  • Reused all the goodies.

Fixed with git:d853cbd.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy