toggle editor fullscreen (focus mode)

This commit is contained in:
Dmitry Vasilev
2022-10-17 16:44:47 +08:00
parent 901c96a960
commit 359b2772f6
3 changed files with 18 additions and 3 deletions

View File

@@ -329,6 +329,14 @@ export class Editor {
}
})
this.ace_editor.commands.bindKey("F5", "fullscreen_editor");
this.ace_editor.commands.addCommand({
name: 'fullscreen_editor',
exec: (editor) => {
this.ui.fullscreen_editor()
}
})
this.ace_editor.commands.bindKey("F1", "focus_value_explorer");
this.ace_editor.commands.addCommand({