includes/clientside/static/editor.js
changeset 1 fe660c52c48f
child 40 723bb7acf914
equal deleted inserted replaced
0:902822492a68 1:fe660c52c48f
       
     1 // Javascript routines for the page editor
       
     2 
       
     3 function initTinyMCE(e)
       
     4 {
       
     5   if ( typeof(tinyMCE) == 'object' )
       
     6   {
       
     7     tinyMCE.init({
       
     8       mode : "exact",
       
     9       elements : '',
       
    10       plugins : 'table',
       
    11       theme_advanced_resize_horizontal : false,
       
    12       theme_advanced_resizing : true,
       
    13       theme_advanced_toolbar_location : "top",
       
    14       theme_advanced_toolbar_align : "left",
       
    15       theme_advanced_buttons1_add : "fontselect,fontsizeselect",
       
    16       theme_advanced_buttons3_add_before : "tablecontrols,separator",
       
    17       theme_advanced_statusbar_location : 'bottom'
       
    18     });
       
    19   }
       
    20 }
       
    21 addOnloadHook(initTinyMCE);
       
    22