mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -1611,6 +1611,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
|
||||
return;
|
||||
}
|
||||
if (matchHotKey(window.siyuan.config.keymap.editor.general.insertBefore.custom, event)) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/14290#issuecomment-2846594701
|
||||
nodeElement.querySelector(".img--select")?.classList.remove("img--select");
|
||||
insertEmptyBlock(protyle, "beforebegin");
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user