Filter can also be used for texts other than $node->body. For example views header and footer messages. There needs to be a default setting.

Comments

alpha2zee’s picture

Version: 5.x-5.x-dev » 5.x-1.8
Assigned: Unassigned » alpha2zee
Category: bug » task

Can you please clarify your point? I am relatively new to Drupal.

alpha2zee’s picture

Category: task » feature

I think I get the point. Third-party modules like Views and CCK allow for text to be input in non-body (or teaser) fields (e.g., 'Header' in case of views, a custom text-field in case of CCK, etc.). The htmLawed module needs to accommodate them.

casey’s picture

Yes, that's what I mean. So a default setting like proposed in #255037: Default settings is a nice solution.

alpha2zee’s picture

Status: Active » Closed (fixed)

The requested feature is available in the upcoming version 2.

bwo’s picture

Version: 5.x-1.8 » 5.x-2.2
Status: Closed (fixed) » Active

It seems that it still isn't possible to filter custom CCK text fields before save.

alpha2zee’s picture

The 'filter before save' option, as well as the 'content-type-specific settings' option, work only for the default Drupal text fields ('body' and 'comment'). They are not available for other text fields like the CCK fields (CCK module) and the header fields (View module), perhaps because I have to figure out how the text-field-specific input is processed/stored by the modules.

alpha2zee’s picture

Status: Active » Closed (fixed)