#4887 closed Bug (duplicate)
Paste: Font face and sizes not recognised on pasted content from word
Reported by: | Damian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.1 |
Keywords: | IBM | Cc: | satya_minnekanti@… |
Description
When copying formatted text (font face & font size set) from Word, the font face and/or size is not recognized by the editor. Paste config options used:
config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = false;
In the case of the font size, the pasted content uses points whereas the editor uses pixels.
Attachments (1)
Change History (12)
comment:1 Changed 15 years ago by
Keywords: | Confirmed added |
---|---|
Milestone: | CKEditor 3.1 → CKEditor 3.2 |
comment:2 Changed 15 years ago by
Milestone: | CKEditor 3.2 → CKEditor 3.3 |
---|
comment:3 Changed 15 years ago by
Milestone: | CKEditor 3.3 → CKEditor 3.x |
---|
Defer it due to the complexity of this feature.
comment:5 Changed 15 years ago by
Owner: | set to Paweł Horzela |
---|---|
Status: | confirmed → assigned |
comment:6 Changed 14 years ago by
Owner: | Paweł Horzela deleted |
---|---|
Status: | assigned → new |
comment:7 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|
comment:8 Changed 14 years ago by
Status: | new → confirmed |
---|---|
Version: | → 3.1 |
This issue was duplicated and confirmed in #7797
Changed 12 years ago by
comment:10 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
Code that is seen by browser is:
<p class="MsoNormal"><span style="font-size:14.0pt" lang="EN-US">Times New Roman, 14</span></p> <p class="MsoNormal"><span style="font-family:"Comic Sans MS"" lang="EN-US">Comic Sans Serif, 12</span></p> <p class="MsoNormal"><span style="font-size:16.0pt;font-family:Georgia" lang="EN-US">Georgia</span><span style="font-size:16.0pt;font-family:Georgia" lang="EN-US">, 16</span></p>
- It seems Times New Roman isn't passed to browser. If there is no font specified then there is no way for editor to recognize font. I don't see error here.
- In second case font-family is comic sans ms while editor has comic sans ms,cursive defined. Since font doesn't match it isn't recognized. This has already been described in #9964.
- Font family Georgia is recognized by editor but font size in points isn't. This is happening again because font-sizes in points aren't defined in editor by default and this is again #9964 issue.
Since both problems concern feature mentioned in #9964 I’m closing this ticket as duplicate.
DUP of #9964.
comment:11 Changed 10 years ago by
I'm not sure if it's a full duplicate of #9964 because the information about the size and color is lost during PFW for the attached document?
Win 7, Office 2010
config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = false;
IE11, ACF enabled, CKE 4.4.6
<p><span style="font-size:14pt">Times New Roman, 14</span></p> <p><span style="font-family:comic sans ms">Comic Sans Serif, 12</span></p> <p><span style="font-family:georgia,serif; font-size:16pt">Georgia</span><span style="font-family:georgia,serif; font-size:16pt">, 16</span></p>
IE11, ACF disabled, CKE 4.4.6
<p style="margin: 0in 0in 0pt;"><span style="font-size: 14pt;"><font color="#000000" face="Times New Roman">Times New Roman, 14</font></span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family: "Comic Sans MS";"><font color="#000000" size="3">Comic Sans Serif, 12</font></span></p> <p style="margin: 0in 0in 0pt;"><span style="font-family: "Georgia","serif"; font-size: 16pt;"><font color="#000000">Georgia</font></span><span style="font-family: "Georgia","serif"; font-size: 16pt;"><font color="#000000">, 16</font></span></p>
We don't suppose to target font-face and size normalization at this point, leave it open for further investigation.