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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user