#4894 closed Bug (wontfix)
Paste: problems with custom styles
Reported by: | Damian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Plugin : Paste from Word | Version: | |
Keywords: | IBM | Cc: | Joe Kavanagh |
Description
When copying text with custom styles applied, all styles are ignored in all browsers except IE.
In IE, only paragraph alignment is lost, all other styles are preserved.
See attached test document.
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | CustomStyleTest.doc added |
---|
comment:1 Changed 15 years ago by
Milestone: | CKEditor 3.1 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
- For FF, it should work with a styles preservation config:
config.pasteFromWordRemoveStyles = false; config.pasteFromWordRemoveFontStyles = false;
- For IE and Webkit, our content sniffing is not working, which means we have no idea it's come from MS-Word, so no cleanup process at all.
IE clipboard: <P style="MARGIN: 0cm 0cm 0pt" class=CKEditorTestStyle><SPAN lang=EN-US><STRONG><EM><U><FONT color=#99cc00 size=7 face="Comic Sans MS">This is a test using CKEditorTestStyle custom style!</FONT></U></EM></STRONG></SPAN></P> Webkit clipboard: <h1><p class="CKEditorTestStyle"><span lang="EN-US">This is a test using CKEditorTestStyle custom style!</span></p></h1>
We're not going to fix this specific case.
comment:2 Changed 11 years ago by
Component: | Core : Pasting → Plugin : Paste from Word |
---|
Contains custom style called "CKEditorTestStyle"