diff --git a/tinymce.module b/tinymce.module index 2234c277a4a2135bf388ad8f39b5880a4e4d67a0..7d78c687370264d3bfef20c5a3d7b8cb0313529e 100644 --- a/tinymce.module +++ b/tinymce.module @@ -125,7 +125,7 @@ function tinymce_process_textarea($element) { static $is_running = FALSE; global $user; static $profile_name; - + //$element is an array of attributes for the textarea but there is no just 'name' value, so we extract this from the #id field $textarea_name = substr($element['#id'], strpos($element['#id'], '-') + 1); @@ -144,6 +144,8 @@ function tinymce_process_textarea($element) { // If $init array is empty no need to execute rest of code since there are no textareas to theme with TinyMCE if (count($init) < 1) { + // we set this textarea to use drupal resizable since tinymce won't be controling this textarea + $element['#resizable'] = TRUE; return $element; }