Opened 14 years ago
Last modified 8 years ago
#7484 confirmed Bug
Indented text copied from Word is not displaying properly when pasted into the editor
Reported by: | James Cunningham | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | 3.5.1 |
Keywords: | IBM | Cc: | Damian, Teresa Monahan, Satya Minnekanti |
Description
Steps to reproduce the defect:
Scenario 1
- Open the Ajax sample.
- Copy the indented text from the sample doc IndentedParagraphs1.doc
- Paste the content into the editor.
Result: The indented paragraphs seem to display fine (see screenshot).
Note: The indentations in IndentedParagraph1.doc are made by typing a line of text. Then press Enter & TAB. Type another line of text. Then press Enter & TAB twice. Then type another line of text.
Scenario 2
- Open the Ajax sample.
- Copy the indented text from the sample doc IndentedParagraphs2.doc
- Paste the content into the editor.
Result: The last 2 paragraphs are not indented as they should be (see screenshot).
Note: The indentations in IndentedParagraph2.doc are made by typing 3 lines of text. Place the cursor at the start of the 2nd paragraph & press TAB once. Then place the cursor at the start of the 3rd paragraph & press TAB twice.
Word has different mark-up depending on how each indentation is created.
Reproducible in IE7, IE8 & FF 3.6.15
Attachments (12)
Change History (22)
Changed 14 years ago by
Attachment: | IndentedParagraphs1.doc added |
---|
Changed 14 years ago by
Attachment: | IndentedParagraph1.PNG added |
---|
Changed 14 years ago by
Attachment: | IndentedParagraphs2.doc added |
---|
Changed 14 years ago by
Attachment: | IndentedParagraph2.PNG added |
---|
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|---|
Version: | 3.5.3 (SVN - trunk) → 3.5.1 |
comment:2 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
comment:3 Changed 11 years ago by
comment:4 Changed 10 years ago by
Confirmed on IE8. Make sure to turn off ACF so that it did not affect the results of PFW processing.
Changed 10 years ago by
Attachment: | 7484_scenario2_chrome_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7484_scenario2_firefox_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7484_scenario2_ie8_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7484_scenario2_ie11_office2010std.txt added |
---|
comment:5 Changed 10 years ago by
Scenario 1, result after pasting in IE8 (from Office 2010), with ACF enabled:
<p>test</p> <p> test</p> <p> test</p> <p> </p>
Scenario 1, result after pasting in IE11 (from Office 2010), with ACF enabled:
<p>test</p> <p> test</p> <p> test</p> <p> </p>
Scenario 1, result after pasting in Chrome 39 (from Office 2010), with ACF enabled:
<p>test</p> <p> test</p> <p> test</p> <p> </p>
Scenario 1, result after pasting in Firefox 34 (from Office 2010), with ACF enabled:
<p>test</p> <p> test</p> <p> test</p> <p> </p>
Scenario 2, result after pasting in IE8 (from Office 2010), with ACF enabled:
<p>test</p> <p>test</p> <p>test</p>
Scenario 2, result after pasting in IE11 (from Office 2010), with ACF enabled:
<p>test</p> <p>test</p> <p>test</p>
Scenario 2, result after pasting in Chrome 39 (from Office 2010), with ACF enabled:
<p>test</p> <p>test</p> <p style="margin-left:.5in">test</p>
Scenario 2, result after pasting in Firefox 34 (from Office 2010), with ACF enabled:
<p>test</p> <p>test</p> <p style="margin-left:.5in">test</p>
Changed 10 years ago by
Attachment: | 7484_scenario1_ie8_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7484_scenario1_ie11_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7484_scenario1_firefox_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7484_scenario1_chrome_rawdata_office2010std.txt added |
---|
comment:6 Changed 10 years ago by
With ACF disabled and
config.pasteFromWordRemoveStyles = false; config.pasteFromWordRemoveFontStyles = false;
the results are fine in Chrome and Firefox:
<p>test</p> <p style="text-indent:.5in;">test</p> <p style="margin-left:.5in;text-indent:.5in;">test</p>
Same in IE11:
<p style="margin: 0in 0in 0pt;"><span lang="EN-GB"><font color="#000000" face="Times New Roman" size="3">test</font></span></p> <p style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span lang="EN-GB"><font color="#000000" face="Times New Roman" size="3">test</font></span></p> <p style="margin: 0in 0in 0pt 0.5in; text-indent: 0.5in;"><span lang="EN-GB"><font color="#000000" face="Times New Roman" size="3">test</font></span></p>
comment:7 Changed 10 years ago by
Result in IE8 for the same setup:
<p><span style="font-size: medium">test</span></p> <p style="text-indent: 0.5in"><span style="font-size: medium">test</span></p> <p style="text-indent: 0.5in"><span style="font-size: medium">test</span></p>
comment:8 Changed 9 years ago by
Summary: | Indented text copied from word is not displaying properly when pasted into the editor. (depends on the Word mark-up) → Indented text copied from Word is not displaying properly when pasted into the editor |
---|
comment:9 Changed 8 years ago by
Milestone: | → CKEditor 4.6.0 |
---|
Reproducible in IE8, Chrome 54.
There's a large chance the content looks like that even before processing.
comment:10 Changed 8 years ago by
Milestone: | CKEditor 4.6.0 |
---|
We're unable to put any more PFW related tickets in 4.6.0. We'll revisit it later.
Hello jamescun,
I have also same problem with the same versions
Is there any way to fix it.
Thanks