mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
This commit is contained in:
parent
a1be78cd5e
commit
9f00c3a0bb
1 changed files with 4 additions and 0 deletions
|
|
@ -1075,6 +1075,8 @@ export class Gutter {
|
|||
label: window.siyuan.languages["insert-before"],
|
||||
accelerator: window.siyuan.config.keymap.editor.general.insertBefore.custom,
|
||||
click() {
|
||||
nodeElement.classList.remove("protyle-wysiwyg--select")
|
||||
countBlockWord([])
|
||||
insertEmptyBlock(protyle, "beforebegin", id);
|
||||
}
|
||||
}).element);
|
||||
|
|
@ -1083,6 +1085,8 @@ export class Gutter {
|
|||
label: window.siyuan.languages["insert-after"],
|
||||
accelerator: window.siyuan.config.keymap.editor.general.insertAfter.custom,
|
||||
click() {
|
||||
nodeElement.classList.remove("protyle-wysiwyg--select")
|
||||
countBlockWord([])
|
||||
insertEmptyBlock(protyle, "afterend", id);
|
||||
}
|
||||
}).element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue