Active
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Editor - CKEditor
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2011 at 06:12 UTC
Updated:
5 Aug 2011 at 02:20 UTC
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
Comment #1
twodPer 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.
Comment #2
flightrisk commentedI'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