Hi everybody!
I have a problem with pasting text from MS Word. I set forcePasteAsPlainText = true in config and this seems to work for content from sources like websites und editors. But if i paste content from Word (with Ctrl+V), the submitted text contains some strange JS-Code (see attached file).
I'm using a very old version of Word (2003). May this be the problem?
I tried to remove the Word-plugin, but then even more Word-specific code is inserted.
I'm a former FCKEditor-user and i remember the plain textarea coming up when forcePasteAsPlainText was activated. I had to insert the text there and so all formatting was gone. Isn't this dialog still neccessary in CKEditor?
By the way, I'm using version 4.3.1 of CKEditor.
Thanks for your help!
Ben
Fri, 01/03/2014 - 17:10
#1

Hmm... Very weird indeed.
Hmm... Very weird indeed. Hard to say at which step that JS code is inserted - it may be in data retrieved from clipboard or it may be caused by bug like http://dev.ckeditor.com/ticket/11307. We would have to know a lot more to be able to check it. Could you report a bug on http://dev.ckeditor.com and include there more datails like MSWord file, your configuration, browser, etc.?
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+