|
|
|
@ -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({ |
|
|
|
|