From b1d79fd8f764ad699fc67c0b65987d0c12fe066f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 15 Dec 2005 21:42:38 +0000 Subject: [PATCH] Pluggable tinyMCE init. fixes #2080 git-svn-id: https://develop.svn.wordpress.org/trunk@3312 602fd350-edb4-49c9-b593-d223f7449a82 --- 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);