Hi,
Our Web application allows the user to paste in text from Word and Google Docs. However due to the fact that Word/Docs can include formatting bloat, one needs to clean the text on entry into the web application via CKEditor.
We are using "Paste From Word" and "Paste Plain Text" as menu options which brings up the paste dialog box which one can paste (CTRL-V) into, when clicked. I believe this is to do with how the browser is configured. I am using Google. One can also CTRL-V straight into the editor, and I believe this will do a "Paste from Word" by default.
Obviously there is a bit of confusion as to what CTRL-V does straight into the editor with a plain text paste or "from Word", although I think I think it just retains all formatting tags from Word.
Is this correct? One option may be to prevent CTRL-V from pasting into the editor, but I cannot get this to work.
Tried configuring:
CKEDITOR.CTRL + 86 : // CTRL+V
In terms of restriction I understand the following happens by default:
1) CTRL-V - no restriction, you get everything.
2) PasteFromWord Menu Option/ CTRL-V into dialog box -> Semi stripped down.
3) PasteFromText Menu Option/CTRl-V into dialog box -> fully stripped down.
So in conclusion I am keen on your wise recommendations on how to tackle the Paste from Word issue. Initially thoughts are to be dragonian and use "Paste from Text" as this really keeps the text clean, then any formatting has to be applied only by CKEditor.
Thanks in advance.

CTRL + v stays as faithful as
CTRL + v stays as faithful as possible to Word if you add this to config.js:
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveStyles = false;
Otherwise it trips some of the styles. You can also use ACF to strip out whatever styles you don't want. More on this here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Reply to advice
Hi,
Thank you for the reply.
I was not really after preserving everything. Rather I wanted CTRL-V to paste in tidy HTML to cover basic formatting issues such as bolding, fontstyles and bulleted lists. What I do not want is the extra Word formatting tags that tends to increase the text bloat.
However the heads up on the config options will be useful.
CTRL-V from Word retains everything. How can CTRL-V act like PasteFromText?
Thanks again.
AFTER FURTHER RESEARCH:
I decided to put the following into the global config.js file which in essence forces a CTRL-V to paste in as plain text. So the default is always to remove Word surplus code. However the end user can always click on "Paste From Word" which then allows them to CTRL-V in Word formatting. Seems like the best approach do far. At the end of the day we need to minimise end users messing up the data which actually get remerged at the end of the process to produce a Word Report. So from my perspective the purer the text the better as I can then control it far more accurately in the merge process, other I might end up with bits of Times New Roman, Bits of Arial, some indenting etc etc...
Here is the config code:
CKEDITOR.config.keystrokes.push(
[CKEDITOR.CTRL + 86, 'pastetext']