i have written my web page text in MS word but when i copy it from MS word and paste it into ckeditor then formatting is lost like COLOR, FONT-FAMILY etc... what is the soultion of it? i want to keep same formatting that i have in my MS word document
Thu, 04/04/2013 - 21:33
#1
Add these to your CKEditor
Add these to your CKEditor configuration:
'pasteFromWordRemoveFontStyles' : false,
'pasteFromWordRemoveStyles' : false,
Sadly font styles are ugly from Word
Unfortunately, we've found that when turn these off, we get way more spans that we'd like (we mostly want to preserve font colors), including <span style="font-size:medium;"> many times over.
Also, with both turned to false, we find the IE9 and FF will hang/crash with the scripts not ending. And when we try turning on pasteFromWordPromptCleanup we never see any prompts.
(EDIT to add sample page that seems to show this issue in IE9)