diff -r c83ff194977a -r 723bb7acf914 includes/clientside/static/editor.js --- a/includes/clientside/static/editor.js Mon Jul 02 20:33:57 2007 -0400 +++ b/includes/clientside/static/editor.js Tue Jul 03 14:07:35 2007 -0400 @@ -1,10 +1,10 @@ // Javascript routines for the page editor -function initTinyMCE(e) +var initTinyMCE = function(e) { if ( typeof(tinyMCE) == 'object' ) { - tinyMCE.init({ + var options = { mode : "exact", elements : '', plugins : 'table', @@ -15,7 +15,8 @@ theme_advanced_buttons1_add : "fontselect,fontsizeselect", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_statusbar_location : 'bottom' - }); + } + tinyMCE.init(options); } } addOnloadHook(initTinyMCE);