Opened 9 years ago
Closed 8 years ago
#14542 closed Bug (fixed)
Copying numbered list from MS word doesn't keep list formatting
Reported by: | Pulkit Gupta | Owned by: | Tade0 |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.6.0 |
Component: | Plugin : Paste from Word | Version: | 4.5.2 |
Keywords: | IE11 Support | Cc: |
Description
Steps to reproduce
- Create following type of bulleted list in MS Word
- Level1
- Level11
- level2
- level21
- Level3
- Level31
- Copy from word and paste into CKEditor window
Expected result
Bullet list should have same formatting when copied to CKEditor.
Actual result
List with 'a' and 'i' are also numbered as numeric.
Other details (browser, OS, CKEditor version, installed plugins)
Works fine in Chrome but doesn't work in IE11. Using latest version (i.e. 4.5.7) of CKEditor. Pastefromword plugin is also installed.
Attachments (3)
Change History (12)
comment:1 Changed 9 years ago by
Keywords: | IE11 added; bullet list formatting removed |
---|---|
Status: | new → confirmed |
Version: | 4.5.7 → 4.5.2 |
Changed 9 years ago by
Attachment: | Pasted list from Word in Chrome.jpg added |
---|
Result of paste into Chrome environment
Changed 9 years ago by
Attachment: | Pasted list from Word in IE11.jpg added |
---|
Result of paste into IE11 environment
comment:3 Changed 9 years ago by
Can someone please provide a tentative date by which this can be resolved. Thanks.
comment:4 Changed 9 years ago by
If we copy numbered list from Word 2010, the HTML returned by editor.getData method encloses list item text into paragraph tag. At same time if we generate numbered list inside CKEditor itself then it doesn't enclose text in pragraph tags.
Can that be a sideeffect of original issue? If not, is there a way to avoid that? Thanks.
comment:5 Changed 9 years ago by
Keywords: | Support added |
---|
comment:6 Changed 9 years ago by
The problem with paragraph being placed in list item in one case and not being placed in the other is a separate issue, at the same time it's a difficult one.
However the main subject of this issue could be resolved by #9991. @Tade0 could you check the branch if it fixes this issue?
comment:7 Changed 8 years ago by
Owner: | set to Tade0 |
---|---|
Status: | confirmed → assigned |
comment:8 Changed 8 years ago by
Milestone: | → CKEditor 4.6.0 |
---|
#9991 fixes this issue. Putting a milestone for it so we can officially close it once v4.6 is released.
comment:9 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It's fixed by #9991.
Fixed with git:f2af0353f8fb20231c7ca6de080c6cad273195eb merged to major.
There are two issues in fact. One with FF (reported here: #14544 ) and other with IE11.
Starting from CKEditor 4.0 (can be reproduced in even 4.0 although IE11 is supported from 4.3) lists were pasted as
1. <><><>
. This issue was fixed in version 4.5.2 - #11376Now, since CKEditor 4.5.2 list is pasted correctly but without any styles which should not be filtered.
Works fine in IE10- and Webkit/Blink.