Tuesday, May 10, 2011

How CKEditor strips out Word tags

If you've ever worked with <div> contenteditable, you know that copying/pasting from Word documents presents a major headache (injects Calibri font-face tags and new lines). How does CKEditor, one of the more popular WYSWYG editors, handle it? Here's a patch/diff submitted...it's not pretty:

http://dev.ckeditor.com/attachment/ticket/1427/1427.patch

No comments:

Post a Comment