Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-09-29 14:15:14 +0300
committerJoas Schilling <nickvergessen@gmx.de>2015-09-29 14:15:14 +0300
commit41d7a584862fa5b7f9ec74bad3012ad954423df8 (patch)
treee7b2a40a7ce414d644c28063fe8d4af38e568c06 /js
parent164da5f13326f203f04c16249957327bf8c9ef6b (diff)
parentce10eb99a0b112373609f4835ec601612c67473a (diff)
Merge pull request #119 from owncloud/reenable-ctrl-t-in-browser
Re-enable Ctrl-T shortcut in browser
Diffstat (limited to 'js')
-rw-r--r--js/editor.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/editor.js b/js/editor.js
index 97fbc02..01ccd5e 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -389,6 +389,9 @@ var Files_Texteditor = {
},
exec: OCA.Files_Texteditor._onSaveTrigger
});
+
+ // disable Ctrl-T shortcut in ace to allow new tab feature in browser
+ window.aceEditor.commands.removeCommand(window.aceEditor.commands.byName.transposeletters);
},
/**