Posted by mrfelton on April 16, 2009 at 8:37am
Jump to:
| Project: | Meta Tags by Path |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When a site as a WYSIWYG text editor installed, such as FCKEditor, it is turned on for the 'Meta Tags' textarea. You can set '#wysiwyg' => FALSE on the FAPI form element to tell these WYSIWYG text editors that they should not be disabled for certain fields.
Comments
#1
Individual modules shouldn't have to worry about this.
As I understand it the WYSIWYG API (which is the recommended way of doing wysiwyg) configures textareas based on input filters and individual modules (like this one) do not have to worry about wysiwyg editor messing up their textareas.
#2
well, yes they do have a way of disabling fields, either by path or id... but they also listen out for the #wysiwyg attribute, which a lot of modules use if they know that there is no possible way that a wysiwyg editor should be enabled for a certain field (like a settings field)... One less thing to configure/go wrong for end users.