I know the fix if I was using the CKEditor module, but I'm using WYSIWIG and the CkEditor library. When editing the taxonomy description fields, CKEditor is being displayed, allowing a user to enter rich text into a field that doesn't support it. I need to be able to exclude CKeditor from the taxonomy description. If Drupal was using the ckeditor.module, then custom code below could check for the arguments and not display the editor. How can I do the same in WYSIWIG?

if (arg(2) == 'taxonomy' || (arg(0) == 'taxonomy' && arg(3) == 'edit')) { return $element; }

Comments

twod’s picture

Category: bug » feature

Per field control is not supported by Wysiwyg module. Editors will show up wherever their formats are available.
If fields have formats, they should render the content via check_markup(). Taxonomy term descriptions do use this in D7, meaning rich text is supported, so I'm not sure why this filtering is requested.

In D6 taxonomy terms don't use formats so the editors won't show up at all.

flightrisk’s picture

I'm asking this because both the taxonomy description fields and 2 of the fields in the FAQ module don't seem to be able to handle the html formatting, so they display the visible tags instead. So the display looks like garbage. Other people seem to be having this issue in these two modules. Here is another thread:

http://drupal.org/node/1036020