Merge branch 'pr/shortcut_toggle_editor'
This commit is contained in:
commit
a24fa9415f
1 changed files with 6 additions and 0 deletions
|
|
@ -135,6 +135,12 @@ var Editor = class Editor {
|
|||
sessionManager.save()
|
||||
})
|
||||
|
||||
keyboardJS.bind('mod + e', (e)=>{
|
||||
e.preventDefault()
|
||||
if(EDITING){editor.disable()}
|
||||
else{editor.enable()}
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue