#5399 closed Bug (fixed)
Lists pasted from Word do not maintain their nesting
Reported by: | Charles O'Sullivan | Owned by: | Paweł Horzela |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 3.1 |
Keywords: | Cc: | satya_minnekanti@… |
Description
After copying a Word document from Word 2007 to CKEditor, a list with nested lists inside it flattens out. This occurs for both numbered and unordered lists.
Steps to Reproduce
- Create a Word document which has a nested list inside.
- Copy the list using CTRL+C.
- Go to CEditor and open "Paste from Word"
- Paste the document into the dialog's textarea and click "OK"
I do not know if this issue occurs with other versions of Word. I have created a patch which seems to solve the problem.
Attachments (3)
Change History (16)
Changed 15 years ago by
Attachment: | pastefromword.patch added |
---|
Changed 15 years ago by
Attachment: | This is a line of text.doc added |
---|
Word document with nested list which which does not maintain nesting when pasted into CKEditor.
comment:1 Changed 15 years ago by
Cc: | satya_minnekanti@… added |
---|
comment:2 Changed 14 years ago by
Status: | new → confirmed |
---|
Confirmed using Office 2010 and IE8 @ Vista.
comment:4 Changed 14 years ago by
Owner: | set to Paweł Horzela |
---|---|
Status: | confirmed → assigned |
comment:5 Changed 14 years ago by
The exact configuration when I was able to reproduce it: Win 7 Professional N 64-bit EN + Office 2010 standard (en_office_standard_2010_x64_515548.exe)
comment:7 Changed 14 years ago by
It's caused by unit of measurement settings in MS Word. It doesn't work only for inches.
To change settings, please go to: File -> Options -> Advanced -> Display -> Show measurements in units of
comment:9 Changed 14 years ago by
Status: | assigned → review |
---|
comment:10 Changed 14 years ago by
Component: | General → Core : Pasting |
---|
Changed 14 years ago by
Attachment: | 5399.patch added |
---|
comment:11 Changed 14 years ago by
Status: | review → review_passed |
---|
The patch is good except for the last chunk of change adding 'list-style-type'.
comment:12 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [5934]
comment:13 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
Patch for fixing nested lists from Word documents