In my config.js, I have this line:
config.forcePasteAsPlainText = true;
But when I paste, say from a web page, the formatting from the web page is preserved. We want to always paste plain text. I am using CKEditor 4.0.1 and am seeing this behavior in Chrome. Any suggestions for getting this to work?
Works for me (Chrome 24 - OSX
Works for me (Chrome 24 - OSX). Are you doing anything else beforehand, like something similar to this?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Resolved
Thanks for your response.
I think the pastefromword plugin was breaking things. I have since gotten this to work with the following lines in our config.js:
config.removePlugins = 'pastefromword'; config.forcePasteAsPlainText = true;config.removePlugins = 'pastefromword';
config.forcePasteAsPlainText = true;