removing the cmd-l functionality that clobbers with browser shortcut

pull/1/head
Shei 6 years ago
parent 40493bec6e
commit ad9c715432
  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