From eeb34ba3566ea824c45b918268f57e6c97d60081 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 27 Aug 2010 06:35:37 -0400 Subject: [PATCH] - Fix Tab key doesn't work in HTML editor in Google Chrome (#1486925) --- 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 c81ef25..248c794 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -24,7 +24,7 @@ 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 @@ 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 : '', -- Gitblit v1.9.1