1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-04 05:22:38 +03:00

Made a start on updating editor actions

This commit is contained in:
Dan Brown
2023-04-11 13:16:04 +01:00
parent da3e4f5f75
commit 9813c94720
4 changed files with 118 additions and 100 deletions

View File

@@ -7,7 +7,7 @@ function provide(editor) {
const shortcuts = {};
// Insert Image shortcut
shortcuts['Mod-Alt-i'] = () => editor.actions.insertImage();
shortcuts['Mod-Alt-i'] = cm => editor.actions.insertImage();
// Save draft
shortcuts['Mod-s'] = cm => window.$events.emit('editor-save-draft');