Log in or register to post comments
Last post
CKEditor v3 and the "Paste from Word" functionality expectat
Hello developers and FCK community,

I am your typical commercial user of FCK -- a coder that uses the WYSIWYG for website "back-end" content administration of some sites I run, so people in my company can easily edit the website without knowing HTML.

Now, seeing as CKEditor is nearing release, I would like to have a discussion about the "Paste from Word" feature. This feature is available in most popular WYSIWYG editors incuding TMCE and others. I haven't seen any talk about whether or not CKEditor will be automatically detecting and cleaning content pasted from word. This would be a very handy feature.

I know there has been lots of talk about "why don't you just use the paste from word button", etc, however that is only an ideal solution. Sort of like when the W3C removed the < b > and < i > tags, repacing them with strong and em. Did they really, really think the deprecated tags would ever disappear from existence, EVER? No. Browsers will have to forever support the deprecated tags, because that's the way the internet works. Old things stick around a lot longer than they need it.

That is why I suggest CKEditor should automatically detect any WORD-pasted content, and clean the word garbage without having to use the PASTE FROM WORD BUTTON. The reason is because, old habits die hard, and it's just TOO difficult to teach non-technical people, over and over and over, how to use the paste from word button. There have been plugins written for many editors that do exactly this, but no editor yet has implemented it as a feature INTO the editor. The plugins have to be rewritten with every major change.

I think the new CKEditor should have "paste from word" automatic cleaning built into the v3 release. Please lend your thoughts on this.
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
I agree... nothing dialog box... Simple way is best way..
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
I totally agree. Also since the feature is not working in Chrome / FireFox i really want my code to stay clean. Remove all formatting like font family's, sizes, colors except bold, italic, tables.
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
I completely agree with the above poster. Adding this ability by default is an integral process for many of the non-techy users that have to use ckeditor.
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
I agree. This is a huge pain point right now for me in my app. I've noticed Google Docs does this automatically. When you paste anything from word, it strips all the header junk out.
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
I have some users that just don't get why they can cut and paste from MS Word. They will not remember to use the special icon. I don't care if all the formatting gets lost just as long as all the MS Word code gets stripped. It causes so many problems when it stays in.
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
If you need this feature then upgrade to the latest version of CKEditor.
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
okay I have upgraded to 3.2 and does behave better with copy and paste from MS Word using firefox 3.6.2 Mac browser. Thanks!
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
In ck editor v3 When i paste text from Microsoft Office Word 2007 ,text font,size,style disappears please help me..
Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
Bhushand wrote:In ck editor v3 When i paste text from Word Pad ,text font,size,style disappears please help me..

See here: http://dev.ckeditor.com/ticket/7337
This is a problem on Wordpad's side, so it is not something that can be fixed by us. Please escalate this issue with Wordpad creators.

Documentation Manager, CKSource

See CKEditor 4.x docs, CKEditor 3.x docs, CKFinder docs for help. CKEditor general FAQ is useful, too!
If you think you found a bug in CKEditor, read this!

Re: CKEditor v3 and the &quot;Paste from Word&quot; functionalit
Just for posterity, I'll reply to this old thread:

There's now a setting "config.pasteFromWordRemoveFontStyles" that defaults to TRUE. Setting it to false will enable font sizes and faces to be pasted from microsoft word.