mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-15 11:38:06 +01:00
This commit is contained in:
parent
9da4fc4530
commit
b65aeac03c
2 changed files with 9 additions and 3 deletions
|
|
@ -99,6 +99,7 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
|
|||
if (matchHotKey(window.siyuan.config.keymap.editor.general.insertRight.custom, event)) {
|
||||
openSearchEditor({
|
||||
protyle: edit.protyle,
|
||||
rootId: currentList.getAttribute("data-root-id"),
|
||||
id: currentList.getAttribute("data-node-id"),
|
||||
cb: () => {
|
||||
if (dialog) {
|
||||
|
|
@ -217,6 +218,7 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
|
|||
replace(element, config, edit, false);
|
||||
} else {
|
||||
openSearchEditor({
|
||||
rootId: currentList.getAttribute("data-root-id"),
|
||||
protyle: edit.protyle,
|
||||
id: currentList.getAttribute("data-node-id"),
|
||||
cb: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue