mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 07:29:30 +01:00
editor: add Shift+Mod+L shortcut for adding internal links
This commit is contained in:
@@ -50,6 +50,10 @@ export const KeyMap = Extension.create({
|
||||
.unsetMark("link")
|
||||
.run();
|
||||
return true;
|
||||
},
|
||||
"Shift-Mod-L": ({ editor }) => {
|
||||
editor.storage.createInternalLink?.();
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user