Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#12784 closed Bug (fixed)

Issue when copy from MS Word

Reported by: Haider Ali Owned by:
Priority: Normal Milestone: CKEditor 4.6.0
Component: Plugin : Paste from Word Version: 3.0
Keywords: Cc:


When i copy text from attached doc file, there is custom bullets in text and when i past; it changes bullet type to number and remove styles of bullet.

following properties i have set in config.js config.pasteFromWordPromptCleanup = false; config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = true; config.pasteFromWordNumberedHeadingToList = false;

Attachments (1)

test.doc (40.5 KB) - added by Haider Ali 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by Haider Ali

Attachment: test.doc added


comment:1 Changed 9 years ago by Jakub Ś

Status: newconfirmed

In case list is seen as:

<p class="MsoNormal" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<!--[if !supportLists]-->
<span lang="EN-US" style="font-size:14.0pt; mso-bidi-font-size:12.0pt;color:blue">
<span style="font-style: normal; font-stretch: normal; font-size: 7pt;">&nbsp;&nbsp; </span>
<span dir="LTR"></span><b><i><span lang="EN-US" style="font-size:14.0pt;mso-bidi-font-size:12.0pt;color:#0000CC">
What course of action would be taken if another economic recession occurs after the facilities are constructed, but before the loans are fully paid off, and our membership levels then decline significantly?<o:p></o:p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span></p>

I’m not sure if we can do anything here. List is correctly recognized as upper-alpha but lists starts from A instead of Q.

The second list item is seen by browser like:

<ol style="margin-top:0cm" start="1" type="A">
 <li class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">There is always risk with major
     projects, as there is with doing nothing, and this is one of them. It is
     not unlike a personal decision to take out a long term mortgage to buy or
     build a home, without knowing one’s future employment, health, family
     situation, etc. with any certainty.&nbsp;<o:p></o:p></span></li>

I can see that Filter is missing :

switch ( attrs.type ) {
case 'A':
listStyleType = 'upper-alpha';

comment:2 Changed 9 years ago by Jakub Ś

Component: GeneralPlugin : Paste from Word
Version: 4.03.0

The first issue is reproducible from CKEditor 4.1 and is most likely related to ACF.

Second issue can be reproduced from CKEditor 3.x.

comment:3 Changed 7 years ago by Tade0

Resolution: fixed
Status: confirmedclosed

Bullets themselves are not styled in CKEditor 4.

Fixed with new Paste From Word plugin in 4.6.0.

comment:4 Changed 7 years ago by Anna Tomanek

Milestone: CKEditor 4.6.0
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