Opened 11 years ago
Closed 9 years ago
#11376 closed Bug (fixed)
IE11: Loss of text when pasting bullet lists from Word
Reported by: | mdev7 | Owned by: | Szymon Cofalik |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 4.5.2 |
Component: | Plugin : Paste from Word | Version: | 4.3 |
Keywords: | IE11 Support | Cc: |
Description
When pasting a bullet list from Microsoft Word then text gets replaced with "<>".
Steps to reproduce:
- Copy a bullet list from Word using CTRL+C
- Go to CKEditor and paste the content using CTRL+V
- You will see that only one item is left and the text has been replaced with "<>".
Browser: IE 11.0.9600 OS: Windows 7 Word: Microsoft Office Professional 2010
Attachments (1)
Change History (19)
Changed 11 years ago by
Attachment: | bullets_v1.docx added |
---|
comment:1 Changed 11 years ago by
Component: | General → Plugin : Paste from Word |
---|
comment:2 Changed 11 years ago by
Keywords: | IE11 added |
---|---|
Status: | new → confirmed |
Version: | 4.3.1 → 4.3 |
comment:3 Changed 10 years ago by
I am facing the same problem. I just forced all the users to use IE EDGE mode and most of the users are using IE11 and the last element in a bullet list is replaced by <> if it is a single word. But the strange thing is that if the last element is appended with a space and copied, then it is pasted perfectly.
Can someone please help.
Cheers:) Karthik
comment:5 Changed 10 years ago by
The same thing is happening for numbered lists.
#12385 was marked as duplicate.
comment:8 Changed 9 years ago by
Keywords: | Support added |
---|
comment:9 Changed 9 years ago by
Milestone: | → CKEditor 4.5.2 |
---|
comment:10 Changed 9 years ago by
- For attached MS Word document, browser, with native contenteditable element, sees this code as shown below:
<ul style="list-style-type: disc; direction: ltr;"><li style='color: rgb(0, 0, 0); font-family: "Arial","sans-serif"; font-size: 10pt; font-style: normal; font-weight: normal;'><p style='color: rgb(0, 0, 0); font-family: "Helvetica","sans-serif"; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-add-space: auto; mso-list: l0 level1 lfo1;'><strong><span lang="DE-CH" style='font-family: "Arial","sans-serif"; font-size: 10pt;'>hello</span></strong></p></li><li style='color: rgb(0, 0, 0); font-family: "Arial","sans-serif"; font-size: 10pt; font-style: normal; font-weight: normal;'><p style='color: rgb(0, 0, 0); font-family: "Helvetica","sans-serif"; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-add-space: auto; mso-list: l0 level1 lfo1;'><strong><span lang="DE-CH" style='font-family: "Arial","sans-serif"; font-size: 10pt;'>world</span></strong></p></li><li style='color: rgb(0, 0, 0); font-family: "Arial","sans-serif"; font-size: 10pt; font-style: normal; font-weight: normal;'><p style='color: rgb(0, 0, 0); font-family: "Helvetica","sans-serif"; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-add-space: auto; mso-list: l0 level1 lfo1;'><strong><span lang="DE-CH" style='font-family: "Arial","sans-serif"; font-size: 10pt;'>abc</span></strong></p></li></ul>
- CKEditor results:
Raw Data Received:<font color="#000000" face="Times New Roman" size="3"> </font><ul style="list-style-type: disc; direction: ltr;"><li style="font-weight: normal;"><p style="font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-add-space: auto; mso-list: l0 level1 lfo1;"><strong><span lang="DE-CH" style='font-family: "Arial","sans-serif"; font-size: 10pt;'>hello</span></strong></p></li><li style='color: rgb(0, 0, 0); font-family: "Arial","sans-serif"; font-size: 10pt; font-weight: normal;'><p style='color: rgb(0, 0, 0); font-family: "Helvetica","sans-serif"; font-size: 11pt; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-add-space: auto; mso-list: l0 level1 lfo1;'><strong><span lang="DE-CH" style='font-family: "Arial","sans-serif"; font-size: 10pt;'>world</span></strong></p></li><li style='color: rgb(0, 0, 0); font-family: "Arial","sans-serif"; font-size: 10pt; font-weight: normal;'><p style='color: rgb(0, 0, 0); font-family: "Helvetica","sans-serif"; font-size: 11pt; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-add-space: auto; mso-list: l0 level1 lfo1;'><strong><span lang="DE-CH" style='font-family: "Arial","sans-serif"; font-size: 10pt;'>abc</span></strong></p></li></ul><font color="#000000" face="Times New Roman" size="3"> </font>
After Paste Processing:<ul><li style="font-weight: normal;">< ><!-- -->< ><!-- -->< ></li></ul>
comment:11 Changed 9 years ago by
Priority: | Normal → High |
---|
comment:12 Changed 9 years ago by
Owner: | set to Szymon Cofalik |
---|---|
Status: | confirmed → assigned |
comment:14 Changed 9 years ago by
Status: | review → review_failed |
---|
- Test fails on Chrome: http://tests.ckeditor.dev:1030/tests/tickets/8103/1
- There's no special need to ignore the test that you added on Edge. It's very probable that it will provide us the same HTML as previous IEs.
- There's also no need to set data before using assertPasteEvent. This helper only fires editor#paste and doesn't care what's being inserted into editor. It checks what editor#paste contains after all the processing is done.
comment:15 Changed 9 years ago by
Status: | review_failed → assigned |
---|
comment:17 Changed 9 years ago by
Status: | assigned → review |
---|
comment:18 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | review → closed |
Fixed on master with git:9b8ff65.
Looks like it has never worked but this particular TC can be reproduced from CKEditor 4.3 and since full support for IE11 was added in CKE 4.3 I'm setting this as start version.
NOTE: IN CKE 4.2.3- result was as follows: