delavega — 2010-08-23T21:55:13-04:00 — #1
I have a WYSIWYG textarea (CKeditor) in my CMS.
Most of the users write the article first in a word document and then paste it in the textarea.
Sometimes they paste as plain text, but sometimes not. And sometimes the articles final result is a mess because of the HTML that Word generates.
I have problems specially with the fonts, people change font face in Word and when they paste text in the textarea, the font face used in Word remains (seems that Word uses the <font> tag.
I'd like to know how you handle this.
bluedreamer — 2010-08-24T13:34:24-04:00 — #2
CKEditor already has a "Paste from Word" feature button, you just need to add the toolbar button in your configuration. http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar
delavega — 2010-08-24T13:39:32-04:00 — #3
Thank you. Yes, I'm aware of that button (and the checkbox of avoiding font changes), but it seems it does not always works ok
imaginekitty — 2010-08-23T22:19:07-04:00 — #4
I know Tiny_MCE has a Word plugin that reformats word output into something valid. Maybe there is a similar plugin for CKeditor.