I have tried lots of different WYSIWYG editors for use with Drupal and have finally settled on FCKeditor, at least for the time being. What I have noticed with all the editors is that there seems to be no way to effectively strip out garbage tags added to text by editors such as MS Word, or even just copying and pasting in certain browsers (Safari seems to add a lot of crap).

I have searched a lot about this and looked at a couple of old threads, but I am wondering if anyone has any specific experiences that they could share and maybe some hints as to how they got around this or helped to stifle the issue a bit when they have clients or people without html experience adding content to a site.

Thanks to anyone who takes the time to post!

Comments

WorldFallz’s picture

For word there's a 'paste from word' toolbar button that tries to remove as much ms cruft as possible-- it's a notorious problem, but it seems to work ok. If you use the filtered html input format you can specify the only tags that will be permitted in the view operation. If you're actually talking about scrubbing out tags before saving the data, see the http://drupal.org/project/htmlpurifier module.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

jacobmn’s picture

This looks really great... I very much appreciate the input!