From 3a51b35f2556fba33e1a546244ebccbf2e5bb08d Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 15 Dec 2005 21:42:38 +0000 Subject: [PATCH] Pluggable tinyMCE init. fixes #2080 git-svn-id: http://svn.automattic.com/wordpress/trunk@3312 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/tiny_mce_gzip.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/wp-includes/js/tinymce/tiny_mce_gzip.php b/wp-includes/js/tinymce/tiny_mce_gzip.php index 3feee3b891..e6f2aed3c2 100644 --- a/wp-includes/js/tinymce/tiny_mce_gzip.php +++ b/wp-includes/js/tinymce/tiny_mce_gzip.php @@ -119,7 +119,8 @@ $mce_browsers = apply_filters('mce_browsers', array('msie', 'gecko', 'opera')); $mce_browsers = implode($mce_browsers, ','); ?> -tinyMCE.init({ + +initArray = { mode : "specific_textareas", textarea_trigger : "title", width : "100%", @@ -145,5 +146,12 @@ tinyMCE.init({ valid_elements : "", plugins : "" -}); +}; + + + +tinyMCE.init(initArray);