Whenever I past from word (.docx) I seem to lose all formatting, colours, font-weight, etc. How can I get the editor to remember everything I've formatted? It seems to just paste exactly the same as if I use paste as plain text. It displays correctly in the small pop up box, but when I hit OK all formatting is lost (Even tested using the Demo on this website, and it doesn't work).
I know that images cannot be dragged and dropped into the CK editor as of yet with the past from Word function but it is due in 4.5.0 so I currently expect to lose those, but I cannot keep colours, font weight or font size!
Any fixes to get this feature working?
I've found and read: https://dev.ckeditor.com/ticket/12243 and http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.pasteFromWordRemoveFontStyles but adding the following to my config file does nothing. (Using version 4.0.1)
config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = false;
If your toolbar doesn't
If your toolbar doesn't include the color plugins ACF might be stripping out the code. Check this guide for more information...
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Is it possible to have the
Is it possible to have the colours button hidden but allow paste from word to have colours?
Disregard: adding config.allowedContent = true allowed me to hide the button. Thanks for the help.