Is there a way to add an editor to the text areas when editing a user profile page?

Comments

twod’s picture

Status: Active » Fixed

Sorry, no. Not unless there's an input format selector, or at least one input format is tied to the field. Wysiwyg links each editor configuration to an input format to keep the settings in sync with what the format accepts.

The downside is that since some Drupal core fields don't use input formats when rendering the contents - they might be using filter_xss_admin() instead - we can't match an input format to the field.

We've not yet had time to work on a way to assign editor profiles that could be assigned to fields not using the format system. I suppose we'd have to keep a lookup table somewhere on which fields use which filtering method. For actually assigning profiles to these "formats", we'd need special treatment for them on the profile listing page so there would be rows for "fields using filter_xss_admin()" and "fields using filter_xss()". The problem with fields being rendered directly via filter_xss() is that we can't know which tags are actually allowed, so we might even need per-field configurations for those.

I hope that explains the situation. You're welcome to help work on this as a feature request if you can. Sun and I have discussed implementing support for these Drupal core fields as a separate module to begin with, depending on if modifications to Wysiwyg itself would be required, but I couldn't find the discussion now. It should be somewhere here in the issue queue....

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.