diff options
author | alecpl <alec@alec.pl> | 2010-08-27 10:35:37 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-08-27 10:35:37 +0000 |
commit | eeb34ba3566ea824c45b918268f57e6c97d60081 (patch) | |
tree | faf15a79e2b0e2474325637940b6e4268195f5ed /program/js/editor.js | |
parent | 196d04f4884ff9dd4dc6d59e5b392a06f14caa6d (diff) |
- Fix Tab key doesn't work in HTML editor in Google Chrome (#1486925)
Diffstat (limited to 'program/js/editor.js')
-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 c81ef2581..248c79476 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -24,7 +24,7 @@ function rcmail_editor_init(skin_path, editor_lang, spellcheck, mode) theme : 'advanced', language : editor_lang, content_css : skin_path + '/editor_content.css', - plugins: 'paste', + plugins: 'paste,tabfocus', theme_advanced_toolbar_location : 'top', theme_advanced_toolbar_align : 'left', theme_advanced_buttons1 : 'bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,separator,outdent,indent,charmap,hr,link,unlink,code,forecolor', @@ -42,7 +42,7 @@ function rcmail_editor_init(skin_path, editor_lang, spellcheck, mode) apply_source_formatting : true, theme : 'advanced', language : editor_lang, - plugins : 'paste,emotions,media,nonbreaking,table,searchreplace,visualchars,directionality' + (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_buttons3 : '', |