Opened 4 years ago

Last modified 4 years ago

#13357 confirmed Bug

[IE11][Firefox] List dropped from MS Word is not a real list

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0 Beta
Keywords: Cc:

Description

When I dragged a list from MS Word 2013 to CKEditor 4.5 I get something what looks like a list but is not a real list:

<p>&bull;&nbsp;&nbsp; &nbsp;Sdf<br />
&bull;&nbsp;&nbsp; &nbsp;Sdfsdf<br />
&bull;&nbsp;&nbsp; &nbsp;sdf<br />
&nbsp;</p>

The content in the paste event is:

"•&nbsp;&nbsp; &nbsp;Sdf<br>•&nbsp;&nbsp; &nbsp;Sdfsdf<br>•&nbsp;&nbsp; &nbsp;sdf<br>

We could fix this and change into a list.

It was working before custom drag and drop was implemented, so before 4.5. I was able to reproduce this issue in Firefox and IE 11. In Chrome dropping list works fine.

Attachments (1)

stupid-word.docx (23.4 KB) - added by Piotr Jasiun 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 4 years ago by Piotr Jasiun

Pasting the same content in Firefox works fine, in IE11 we get a different issue: #13356.

Changed 4 years ago by Piotr Jasiun

Attachment: stupid-word.docx added

comment:2 Changed 4 years ago by Jakub Ś

Status: newconfirmed

I can confirm this for IE11 - in CKEditor 4.4.7 list was pasted however elements were wrapped in paragraphs with garbage attributes. When changing modes source/wysiwyg attributes are cleaned by ACF.
Browser sees this content as list so I'm not sure why editor is pasting paragraphs.

In FF however I'm getting same result from 4.0 - latest-dev and this result looks exactly as you have described it in editor and in clipboard (I don't think this can be fixed).

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