diff options
author | alecpl <alec@alec.pl> | 2011-05-04 10:11:11 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-05-04 10:11:11 +0000 |
commit | 630f0e41acfd254554262fad06ea7461c9578f7b (patch) | |
tree | b3923911acd2a4874a4dc33d748f084143ade1c1 /program | |
parent | 2ab7ac40c2263c03c2589b0a67783b6e4467cac4 (diff) |
- Added table button in HTML editor, disabled contextmenu
Diffstat (limited to 'program')
-rw-r--r-- | program/js/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/editor.js b/program/js/editor.js index 1df0fa2ef..27ea06e37 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -43,9 +43,9 @@ function rcmail_editor_init(skin_path, editor_lang, spellcheck, mode) }); else // mail compose $.extend(conf, { - plugins: 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality,tabfocus,contextmenu' + (spellcheck ? ',spellchecker' : ''), + plugins: 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality,tabfocus' + (spellcheck ? ',spellchecker' : ''), theme_advanced_buttons1: 'bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,ltr,rtl,blockquote,|,forecolor,backcolor,fontselect,fontsizeselect', - theme_advanced_buttons2: 'link,unlink,code,|,emotions,charmap,image,media,|,search' + (spellcheck ? ',spellchecker' : '') + ',undo,redo', + theme_advanced_buttons2: 'link,unlink,table,|,emotions,charmap,image,media,|,code,search' + (spellcheck ? ',spellchecker' : '') + ',undo,redo', spellchecker_languages: (rcmail.env.spellcheck_langs ? rcmail.env.spellcheck_langs : 'Dansk=da,Deutsch=de,+English=en,Espanol=es,Francais=fr,Italiano=it,Nederlands=nl,Polski=pl,Portugues=pt,Suomi=fi,Svenska=sv'), spellchecker_rpc_url: '?_task=utils&_action=spell&tiny=1', accessibility_focus: false, |