Opened 8 years ago

Last modified 7 years ago

#14923 confirmed Bug

Copy paste from word does not retain font size for first <li> tag

Reported by: Sibasish palo Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version:
Keywords: Cc:

Description

Steps to reproduce

  1. create a ordered list in MS word.
  2. copy & paste the content into ckeditor,after applying the filter its modifying the content as follows:

<ol>
<li style="font-style: normal; font-weight: normal; margin-top: 0in; margin-bottom: 0pt;">Test1</li>

<li 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: 10pt;">Sdfas</li>

</ol>

  1. As you can see its not retaining the font size for the first <li> tag

Expected result

it should retain the font size for the first li item

Actual result

removing the font size from the 1st li tag

Other details (browser, OS, CKEditor version, installed plugins)

reproducible in IE

Attachments (1)

test list.docx (15.4 KB) - added by Jakub Ś 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.7

I could not reproduce this with old Paste From Word (PFW) filter but only with new one. In the old PFW I only got clean list without any extra styles.

Whether you have ACF enabled or not, in new PFW, font-size is not retained for first element.

Version 0, edited 8 years ago by Jakub Ś (next)

comment:2 Changed 8 years ago by Sibasish palo

hi j.swiderski, Thank you for the response.

when you say "In the old PFW I only got clean list without any extra styles".does it retain the style for first element, if it is retaining the style/fontsize for the first element please provide the PFW version on which its retaining font size

Changed 8 years ago by Jakub Ś

Attachment: test list.docx added

comment:3 Changed 8 years ago by Jakub Ś

@sibasish.palo my latest comment wasn't very accurate. I needed to update it.

The problem you are describing is happening in IE and unfortunately it touches both new and old Paste From Word Filters. The new Filter hasn't been released yet - it is still being developed and tested.

comment:4 Changed 7 years ago by Tade0

Milestone: CKEditor 4.6.0

comment:5 Changed 7 years ago by Marek Lewandowski

Milestone: CKEditor 4.6.0

We're unable to put any more PFW related tickets in 4.6.0. We'll revisit it later.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy