Fix for Enable WYSIWYG for term descriptions?

  1. function my_module_form_alter(&$form, $form_state, $form_id) {
  2.    
  3.     switch ($form_id) {
  4.                
  5.           case 'taxonomy_form_term':
  6.             $form['description']['#WYSIWYG'] = TRUE;
  7.                 break;
  8.     }  //switch
  9.   }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.