Opened 15 years ago
Closed 9 years ago
#7209 closed Bug (fixed)
Ordered list with 3 levels not pasted from word correctly
| Reported by: | jorp | Owned by: | Marek Lewandowski |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.6.0 |
| Component: | Plugin : Paste from Word | Version: | 3.1 |
| Keywords: | Cc: |
Description
If you create the following list in Word
1. Item 1
a. Item 1a
i. Item 1aa
2. Item 2
3. Item 3
a. Item 3a
b. Item 3b
c. Item 3c
d. Item 3d
It results in
1. Item 1
a. Item 1a
ii. Item 1aa
3. Item 2
4. Item 3
a. Item 3a
b. Item 3b
c. Item 3c
d. Item 3d
Internet Explorer 8, Word 2003, Windows XP
Attachments (2)
Change History (8)
Changed 15 years ago by
Changed 15 years ago by
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|---|
| Version: | 3.5 → 3.5.3 (SVN - trunk) |
Before revision version [6585] three level list pasting worked in the following way:
FireFox changes third level nodes to paragraphs since CKEditor version 3.0 Three level lists work in Chrome, Safari and IE till version 3.0.2 inclusive. Since version 3.1 they don't work any more. Third level nodes are changed to second level nodes. Opera inserts empty paragraphs for the third level nodes since CKEditor version 3.0
There is also problem with two level lists pasted from word. They work in FF3. They work in Chrome, Safari and IE till version 3.0.2. Since version 3.1 they don't work any more. Second level nodes are changed to first level nodes. Opera inserts empty paragraphs for the second level nodes since CKEditor version 3.0
Since revision version [6585] there are still some problems with three level list pasting: IE, Safari, Chrome, FF all “upgrade” third level nodes to second level nodes. Opera inserts empty paragraphs. Two level list pasting doesn't only work in Opera which inserts empty paragraphs for second level nodes.
For tests I have used test2.doc (Attachment). All cases described here were tested using Office 2003. There is a similar issue presented in ticked #6662 and it seems to fix some but not all issues described in this ticket.
comment:2 Changed 15 years ago by
| Version: | 3.5.3 (SVN - trunk) → 3.1 |
|---|
comment:3 Changed 12 years ago by
| Component: | Core : Pasting → Plugin : Paste from Word |
|---|
comment:4 Changed 9 years ago by
| Milestone: | → CKEditor 4.6.0 |
|---|
I just checked original TC with Firefox + Word 2010 / 2013 and although list structure was ok, wrong markers were used for "Item 1aa". It's going to be fixed by #9991.
As for test2.doc the second list it has wrong lists, in file attached there are subsequent lists, not a one list with multiple level. You can easily see it by putting cursor at the end of "List1" item, pressing enter and then tab key. You'll see that you're working with a different list.
comment:5 Changed 9 years ago by
| Owner: | set to Marek Lewandowski |
|---|---|
| Status: | confirmed → review |
comment:6 Changed 9 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review → closed |
It's fixed by #9991. Though structure was good already in 4.5.x, the marker for 3rd level list was wrong - and it has been fixed.
Fixed with git:f2af0353f8fb20231c7ca6de080c6cad273195eb merged to major.

word document test case