includes/clientside/static/tinymce-init.js
changeset 784 72df14a56a03
parent 779 609e35845ec3
child 1053 bdbb49cf6f1b
equal deleted inserted replaced
783:368a07e59bfe 784:72df14a56a03
    32 var _skin = ( typeof(tinymce_skin) == 'string' ) ? tinymce_skin : 'default';
    32 var _skin = ( typeof(tinymce_skin) == 'string' ) ? tinymce_skin : 'default';
    33 var tinymce_initted = false;
    33 var tinymce_initted = false;
    34 
    34 
    35 var enano_tinymce_options = {
    35 var enano_tinymce_options = {
    36   mode : "none",
    36   mode : "none",
    37   plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras' + do_popups,
    37   plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,spellchecker,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras' + do_popups,
    38   theme : 'advanced',
    38   theme : 'advanced',
    39   skin : _skin,
    39   skin : _skin,
    40   theme_advanced_resize_horizontal : false,
    40   theme_advanced_resize_horizontal : false,
    41   theme_advanced_resizing : true,
    41   theme_advanced_resizing : true,
    42   theme_advanced_toolbar_location : "top",
    42   theme_advanced_toolbar_location : "top",
    43   theme_advanced_toolbar_align : "left",
    43   theme_advanced_toolbar_align : "left",
    44   theme_advanced_buttons1 : "save,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,forecolor,backcolor,|,formatselect,|,fontselect,fontsizeselect",
    44   theme_advanced_buttons1 : "save,|,bold,italic,underline,strikethrough,|,spellchecker,|,justifyleft,justifycenter,justifyright,justifyfull,|,forecolor,backcolor,|,formatselect,|,fontselect,fontsizeselect",
    45   theme_advanced_buttons3_add_before : "tablecontrols,separator",
    45   theme_advanced_buttons3_add_before : "tablecontrols,separator",
    46   theme_advanced_buttons3_add_after : "|,fullscreen",
    46   theme_advanced_buttons3_add_after : "|,fullscreen",
    47   theme_advanced_statusbar_location : 'bottom',
    47   theme_advanced_statusbar_location : 'bottom',
    48   noneditable_noneditable_class : 'mce_readonly',
    48   noneditable_noneditable_class : 'mce_readonly',
    49   content_css : css_url
    49   content_css : css_url,
       
    50   spellchecker_rpc_url : scriptPath + '/includes/clientside/tinymce/plugins/spellchecker/rpc.php',
    50 };
    51 };
    51 
    52 
    52 var enano_tinymce_gz_options = {
    53 var enano_tinymce_gz_options = {
    53 	plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras' + do_popups,
    54 	plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,spellchecker,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras' + do_popups,
    54 	themes : 'advanced',
    55 	themes : 'advanced',
    55 	languages : 'en',
    56 	languages : 'en',
    56 	disk_cache : true,
    57 	disk_cache : true,
    57 	debug : false
    58 	debug : false
    58 };
    59 };