#7262 closed Bug (fixed)
Paste from Word: Lists in preformatted body disappear
Reported by: | Tomas | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.6.0 |
Component: | Plugin : Paste from Word | Version: | 3.4 |
Keywords: | IBM Haspatch | Cc: | satya_minnekanti@… |
Description
When having a list in word, which has format preformat. Pasting such a list causes the list to disappear. It seems the reason for this is that only half of the handling for changing from "word-html-list" to "ckeditor-html-list".
I did a patch for this, dont know if its the right fix though.
word document attached shows the problem.
Attachments (7)
Change History (19)
Changed 14 years ago by
Attachment: | support_for_pre_wrapped_lists_from_word.patch added |
---|
comment:1 Changed 14 years ago by
This error appears in IE8 Chrome9. In FF3, the text appears as normal text, not as a list. Again, I don't know what behavior that is considered right in CK editor. In my app, I prefer treating it as a HTML list, which the patch does. the behavior in FF is not changed by the patch.
comment:2 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|---|
Keywords: | IBM added |
comment:3 follow-up: 4 Changed 14 years ago by
Forgot to mention that the patch is for \_source\plugins\pastefromword\filter\default.js
comment:4 Changed 14 years ago by
Replying to toma25:
Forgot to mention that the patch is for \_source\plugins\pastefromword\filter\default.js
in version 3.5.2
comment:5 Changed 14 years ago by
Keywords: | Haspatch? added; list pre word removed |
---|---|
Status: | new → confirmed |
Version: | 3.5 → 3.4 |
Confirmed for PasteFromWord (word 2010)
comment:6 Changed 13 years ago by
Keywords: | Haspatch added; Haspatch? removed |
---|
comment:7 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
comment:8 Changed 10 years ago by
Result of pasting in IE8 (using Office 2010):
<pre> <>·</>·</>·Text3</pre>
Result of pasting in Firefox 34 (using Office 2010):
<pre> <>···Text3</pre>
Result of pasting in Chrome 39 (using Office 2010):
<pre> · Text1</pre> <pre> · Text2</pre> <pre> · Text3</pre>
Result of pasting in IE11 (using Office 2010):
<ul> <li> <pre> Text1</pre> </li> <li> <pre> Text2</pre> </li> <li> <pre> Text3</pre> </li> </ul>
Changed 10 years ago by
Attachment: | 7262_firefox_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7262_chrome_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7262_ie8_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7262_ie11_rawdata_office2010std.txt added |
---|
comment:9 Changed 10 years ago by
The results are actually even more interesting.
Firefox 34
allowedContent : true, pasteFromWordRemoveStyles : false, pasteFromWordRemoveFontStyles : false
results in:
<pre style="margin-left:.5in;text-align:justify;text-indent:-.25in;"> <span style="font-family:symbol;"><span style="font-size:12.0pt;"><>·<span style="font-size:12.0pt;">Text1</span></span></span></pre> <pre style="margin-left:.5in;text-align:justify;text-indent:-.25in;"> <span style="font-family:symbol;"><span style="font-size:12.0pt;"><>·<span style="font-size:12.0pt;">Text2</span></span></span></pre> <pre style="margin-left:.5in;text-align:justify;text-indent:-.25in;"> <span style="font-family:symbol;"><span style="font-size:12.0pt;"><>·<span style="font-size:12.0pt;">Text3</span></span></span></pre>
Firefox 34
allowedContent : true pasteFromWordRemoveStyles : true, pasteFromWordRemoveFontStyles : true
results in Text1 & Text2 being lost:
<pre> <>···Text3</pre>
Changed 10 years ago by
Attachment: | 7262_firefox_rawdata_office2010std_2.txt added |
---|
comment:10 Changed 9 years ago by
Summary: | Paste from word - lists in pre formatted body disappear. → Paste from Word: Lists in preformatted body disappear |
---|
comment:11 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Fixed with new Paste From Word plugin in 4.6.0.
comment:12 Changed 8 years ago by
Milestone: | → CKEditor 4.6.0 |
---|
patch