By: Michael Phipps
17 Jul 2009Microsoft Word generates ugly HTML, yet it is the primary utility that most users use to create their content prior to pasting it into their website.
To solve this problem for YUI users, Anthony at AntsCode put together a YUI Rich Text Editor plugin called Clean Paste.
Without Clean Paste, the content that the user pastes is full of extra code that doesn’t render properly. With Clean Paste, the extra code is removed, and we are left with basic HTML that can be worked with much easier.
I’ve just started putting together a Drupal YUI Editor module plugin port for clean paste. I haven’t decided where to put the code online at the moment, but it will be free. If you are interested in getting a copy of what I have done, leave a comment, and I’ll arrange to get the code up somewhere.