mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
This commit is contained in:
parent
e436868c0d
commit
7994ea861a
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue