summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Serbinski2005-12-29 05:47:22 (GMT)
committer Ted Serbinski2005-12-29 05:47:22 (GMT)
commitf9ec7c08136566b49439cdedc29df9a8fccbbb92 (patch)
tree251de88385fd2d3666122ac00f15fb40c3214370
parent0bdcb567bfde630fbae3411995b62c92bd4b0797 (diff)
add #resizable = false so TinyMCE doesn't interfere with resizable.js in core
-rw-r--r--tinymce.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinymce.module b/tinymce.module
index 2603442..fae152a 100644
--- a/tinymce.module
+++ b/tinymce.module
@@ -97,7 +97,8 @@ function tinymce_elements() {
$type = array();
if (user_access('access tinymce')) {
- $type['textarea'] = array('#process' => array('tinymce_process_textarea' => array()));
+ // Set resizable to false to avoid drupal.js resizable function from taking control of the textarea
+ $type['textarea'] = array('#process' => array('tinymce_process_textarea' => array()), '#resizable' => FALSE);
}
return $type;