1
+ − 1
// Javascript routines for the page editor
+ − 2
117
+ − 3
var enano_tinymce_options = {
+ − 4
mode : "exact",
+ − 5
elements : '',
+ − 6
plugins : 'table',
+ − 7
theme_advanced_resize_horizontal : false,
+ − 8
theme_advanced_resizing : true,
+ − 9
theme_advanced_toolbar_location : "top",
+ − 10
theme_advanced_toolbar_align : "left",
+ − 11
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
+ − 12
theme_advanced_buttons3_add_before : "tablecontrols,separator",
+ − 13
theme_advanced_statusbar_location : 'bottom'
+ − 14
};
+ − 15
40
+ − 16
var initTinyMCE = function(e)
1
+ − 17
{
+ − 18
if ( typeof(tinyMCE) == 'object' )
+ − 19
{
57
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 20
if ( !KILL_SWITCH )
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 21
{
117
+ − 22
tinyMCE.init(enano_tinymce_options);
57
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
diff
changeset
+ − 23
}
1
+ − 24
}
+ − 25
}
+ − 26
addOnloadHook(initTinyMCE);
+ − 27