Active
Project:
Top Modules
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2010 at 14:59 UTC
Updated:
14 Jan 2010 at 14:36 UTC
the default HTML filter doesn't allow for more advanced editing available to those using a WYSIWYG. The HTML filter will strip out any inline styles, even simple ones (text-align: center;). The solutions seems to to either use the Full HTML filter, which provides no safety or cleanup, or to go with another filter. There are two options I know about:
http://drupal.org/project/htmlpurifier
http://drupal.org/project/wysiwygfilter
Comments
Comment #1
frankcarey commentedLooks like HTML Purifier is a great candidate for use as a alternate HTML Filter for Wysiwyg. It keeps out scary code (supposedly), as well as cleaning up any non strict html. Pretty much turn it on, replace the input format HTML Filter with this one (check one off, and the other on) and go. It looks like it could be tricky to configure it if you were using something that might not output possibly unsafe HTML, like video or audio embeds.
Comment #2
sittard commentedThe WYSIWYG Filter can be located here: http://drupal.org/project/wysiwyg_filter