removing the cmd-l functionality that clobbers with browser shortcut

pull/3094/head
Shei 6 years ago
parent a5e64d2a64
commit 500259f10b
  1. 8
      src/app/editor/editor.js

@ -99,8 +99,12 @@ class Editor {
this.editor = ace.edit(el)
ace.acequire('ace/ext/language_tools')
// Unmap ctrl-t & ctrl-f
this.editor.commands.bindKeys({ 'ctrl-t': null })
// Unmap ctrl-t & ctrl-f & ctrl-l & cmd-l
this.editor.commands.bindKeys({
'ctrl-t': null,
'ctrl-L': null,
'Command-L': null
})
// shortcuts for "Ctrl-"" and "Ctrl+"" to increase/decrease font size of the editor
this.editor.commands.addCommand({

Loading…
Cancel
Save