#7839 closed Bug (fixed)
Pasting multi level Numbered list from word not working properly
Reported by: | Satya Minnekanti | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.1 |
Component: | Plugin : Paste from Word | Version: | 3.5.3 |
Keywords: | IBM | Cc: | Damian, Teresa Monahan |
Description
To reproduce the defect:
Open CK Editor,copy the list from attached doc and paste in to editor.
Expected Result: Multilevel Numbered list in the document should paste properly.
Actual Result: Nesting between the outer and inner lists is removed and also the ordering of list items is not maintained. when we try to insert new list items it is not updating the order of other list items at the same level.
Attachments (3)
Change History (12)
Changed 14 years ago by
Attachment: | Multi level Numbered list.doc added |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Status: | new → confirmed |
---|---|
Version: | → 3.5.3 |
I have deleted my first comment as I brought to much confusion. I have got a little mixed up with this issue. Here is the new comment:
This is reproducible for all versions of IE.
- Open sample file and copy the whole list
- You don't have to care about word formatting options in config.js (leave them to true)
Before revision [6585], CRTL+V, paste from word “allow” and “disallow” produced the same correct result. Since that revision lists pasted from word were flatten (from mulit-level to one level)
In [6616] there was a slight improvement:
- If you paste the list using CRTL+V the result is as described by @satya.
- If you use "paste from word" dialog and allow for access (when IE message pops out) this will work in IE6 and IE7 but for IE8 and IE9 list will be broken.
- If you use "paste from word" dialog and disallow for access (when IE message pops out) this will work for all IE versions. List will be pasted correctly.
The only major problem with IE6&7 and [6616] is that those browsers can break down when modifying list pasted from word. I have created new ticket for this. Please refer to #7843
To sum up – this worked correctly in IE till [6585] (exclusive).
Having said all that, I also think that bug #7843 is the result of [6585].
Changed 13 years ago by
Attachment: | 7839.patch added |
---|
comment:4 Changed 13 years ago by
Component: | General → Core : Pasting |
---|---|
Owner: | set to Garry Yao |
Status: | confirmed → review |
comment:5 follow-up: 6 Changed 13 years ago by
Status: | review → review_failed |
---|
After patch, I can confirm that the list is properly pasted with Firefox and IE9 in IE9 Mode.
With IE9 in Compatibility Mode instead, I'm having the "It was not possible to clean up the pasted data duo to an internal error" error.
Changed 13 years ago by
Attachment: | 7839_2.patch added |
---|
comment:6 Changed 13 years ago by
Status: | review_failed → review |
---|
Replying to fredck:
With IE9 in Compatibility Mode instead, I'm having the "It was not possible to clean up the pasted data duo to an internal error" error.
Looked for a Array::indexOf again in IE7 ;(
comment:7 Changed 13 years ago by
Status: | review → review_passed |
---|
The new patch is ok, but the debug changes from line 1321 are also included on it. This is a serious problem, so please be sure to revert it when committing.
comment:8 Changed 13 years ago by
Milestone: | → CKEditor 3.6.1 |
---|
comment:9 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [6977].
comment:10 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
Replying to j.swiderski:
@ j.swiderski even when i use the option b lists in level 1 & level 2 getting combined as single list. i think we should not close this defect, since this was a regression and it was working in earlier versions.