|
|
@ -99,9 +99,8 @@ class Editor { |
|
|
|
this.editor = ace.edit(el) |
|
|
|
this.editor = ace.edit(el) |
|
|
|
ace.acequire('ace/ext/language_tools') |
|
|
|
ace.acequire('ace/ext/language_tools') |
|
|
|
|
|
|
|
|
|
|
|
// Unmap ctrl-t & ctrl-f & ctrl-l & cmd-l
|
|
|
|
// Unmap ctrl-l & cmd-l
|
|
|
|
this.editor.commands.bindKeys({ |
|
|
|
this.editor.commands.bindKeys({ |
|
|
|
'ctrl-t': null, |
|
|
|
|
|
|
|
'ctrl-L': null, |
|
|
|
'ctrl-L': null, |
|
|
|
'Command-L': null |
|
|
|
'Command-L': null |
|
|
|
}) |
|
|
|
}) |
|
|
|