font isn't a true TinyMCE plugin so don't load it, it fills up the logs with missing...
authorTed Serbinski
Tue, 29 Nov 2005 04:50:47 +0000 (04:50 +0000)
committerTed Serbinski
Tue, 29 Nov 2005 04:50:47 +0000 (04:50 +0000)
tinymce.module

index a4d8bb0..c3533f9 100644 (file)
@@ -500,7 +500,8 @@ function tinymce_config($profile) {
         foreach ($rplugin as $mce_key => $mce_value) { // TinyMCE key
           foreach ($mce_value as $k => $v) { // Buttons
             if ($settings['buttons'][$rname . '-' . $v]) {
-              if (!in_array($rname, $plugin_tracker)) $plugin_tracker[] = $rname;
+              // Font isn't a true plugin, rather it's buttons made available by the advanced theme
+              if (!in_array($rname, $plugin_tracker) && $rname != 'font') $plugin_tracker[] = $rname;
               $init[$mce_key][] = $v;
             }
           }