#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: | 
Description
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)
Change History (5)
Changed 11 years ago by
comment:1 Changed 11 years ago by
| Status: | new → confirmed | 
|---|---|
| Version: | 4.3.1 → 4.0 | 
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]--> <i> <span lang="EN-US" style="font-size:14.0pt; mso-bidi-font-size:12.0pt;color:blue"> Q. <span style="font-style: normal; font-stretch: normal; font-size: 7pt;">   </span> </span> </i> <!--[endif]--> <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> </span></i></b> </p> <p class="MsoNormal"><span lang="EN-US"> </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:"Arial","sans-serif"">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. <o:p></o:p></span></li>
</ol>
I can see that Filter is missing :
switch ( attrs.type ) {
…
case 'A':
listStyleType = 'upper-alpha';
break;	
    comment:2 Changed 11 years ago by
| Component: | General → Plugin : Paste from Word | 
|---|---|
| Version: | 4.0 → 3.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 9 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | confirmed → closed | 
Bullets themselves are not styled in CKEditor 4.
Fixed with new Paste From Word plugin in 4.6.0.
comment:4 Changed 9 years ago by
| Milestone: | → CKEditor 4.6.0 | 
|---|

TestData