changeset 1254 | 221d14331ebe |
parent 1227 | bdac73ed481e |
1253:13f8d373da67 | 1254:221d14331ebe |
---|---|
30 |
30 |
31 var do_popups = ( is_Safari ) ? '' : ',inlinepopups'; |
31 var do_popups = ( is_Safari ) ? '' : ',inlinepopups'; |
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 html = document.getElementsByTagName('html')[0]; |
|
36 var direction = typeof(html.dir) != 'undefined' ? html.dir : 'ltr'; |
|
37 |
|
35 var enano_tinymce_options = { |
38 var enano_tinymce_options = { |
36 mode : "none", |
39 mode : "none", |
37 plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,spellchecker,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,wordcount' + do_popups, |
40 plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,spellchecker,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,wordcount' + do_popups, |
38 theme : 'advanced', |
41 theme : 'advanced', |
39 skin : _skin, |
42 skin : _skin, |
45 theme_advanced_buttons3_add_before : "tablecontrols,separator", |
48 theme_advanced_buttons3_add_before : "tablecontrols,separator", |
46 theme_advanced_buttons3_add_after : "|,fullscreen", |
49 theme_advanced_buttons3_add_after : "|,fullscreen", |
47 theme_advanced_statusbar_location : 'bottom', |
50 theme_advanced_statusbar_location : 'bottom', |
48 noneditable_noneditable_class : 'mce_readonly', |
51 noneditable_noneditable_class : 'mce_readonly', |
49 content_css : css_url, |
52 content_css : css_url, |
50 spellchecker_rpc_url : scriptPath + '/includes/clientside/tinymce/plugins/spellchecker/rpc.php' |
53 spellchecker_rpc_url : scriptPath + '/includes/clientside/tinymce/plugins/spellchecker/rpc.php', |
54 directionality : direction |
|
51 }; |
55 }; |
52 |
56 |
53 var enano_tinymce_gz_options = { |
57 var enano_tinymce_gz_options = { |
54 plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,spellchecker,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras' + do_popups, |
58 plugins : 'table,save,safari,pagebreak,style,layer,advhr,insertdatetime,searchreplace,spellchecker,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras' + do_popups, |
55 themes : 'advanced', |
59 themes : 'advanced', |