Opened 5 years ago

Closed 4 years ago

#12385 closed Bug (duplicate)

Paste from word plugin - problem with numbered lists

Reported by: yuri.pavlov Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 4.3
Keywords: IE11 Cc:

Description

The bug is reproducible under IE 11. When the user copies (even a single) line from a numbered list, like :

  1. First
  2. Second

the result we see inside the CK window is (CK demo used) :

  1. <>

So the entire internal text is missing, it is replaced by <>.

What I found is that the text coming into plugin is like :

<ol style=\"list-style-type: decimal; direction: ltr;\">
<li style='color: red; font-family: \"Calibri\",\"sans-serif\"; font-size: 11pt; font-style: normal; font-weight: normal;'>
<p style='color: rgb(0, 0, 0); font-family: \"Calibri\",\"sans-serif\"; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0in; margin-bottom: 0pt; mso-list: l0 level1 lfo1;'>
	<span style=\"color: red; mso-ansi-language: EN-US;\">First</span>
</p></li>

........

It is gradually transformed to :

"<ol><li cke:indent=\"1\" cke:listtype=\"ol\" cke:list-style-type=\"\">
<cke:li cke:reset=\"1\" cke:indent=\"1\" cke:listsymbol=\"First\"></cke:li></li></ol>"

Which then leads to the behavior I described.

Attachments (1)

number_list.docx (12.1 KB) - added by yuri.pavlov 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by yuri.pavlov

Attachment: number_list.docx added

comment:1 Changed 5 years ago by Jakub Ś

Keywords: IE11 added; IE 11 paste from word removed
Status: newconfirmed
Version: 4.4.44.3

Problem can be reproduced only in IE11 from CKEditor 4.3.

Before version 4.3 (but we didn't have support for IE11 then) list was pasted as set of paragraphs in IE11

comment:2 Changed 4 years ago by Jakub Ś

Resolution: duplicate
Status: confirmedclosed

DUP of #11376.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy