mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-09 08:44:20 +01:00
This commit is contained in:
parent
0c6c90a82d
commit
12ebc120a0
10 changed files with 184 additions and 119 deletions
|
|
@ -816,8 +816,12 @@ export class Gutter {
|
|||
accelerator: window.siyuan.config.keymap.general.move.custom,
|
||||
icon: "iconMove",
|
||||
click: () => {
|
||||
movePathTo((toPath) => {
|
||||
hintMoveBlock(toPath[0], selectsElement, protyle);
|
||||
movePathTo({
|
||||
cb: (toPath) => {
|
||||
hintMoveBlock(toPath[0], selectsElement, protyle);
|
||||
},
|
||||
rootIDs: [protyle.block.rootID],
|
||||
flashcard: false
|
||||
});
|
||||
}
|
||||
}).element);
|
||||
|
|
@ -1372,8 +1376,12 @@ export class Gutter {
|
|||
label: window.siyuan.languages.move,
|
||||
accelerator: window.siyuan.config.keymap.general.move.custom,
|
||||
click: () => {
|
||||
movePathTo((toPath) => {
|
||||
hintMoveBlock(toPath[0], [nodeElement], protyle);
|
||||
movePathTo({
|
||||
cb: (toPath) => {
|
||||
hintMoveBlock(toPath[0], [nodeElement], protyle);
|
||||
},
|
||||
flashcard: false,
|
||||
rootIDs: [protyle.block.rootID],
|
||||
});
|
||||
}
|
||||
}).element);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue