mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
168d673a0c
commit
3ab71117f6
1 changed files with 2 additions and 2 deletions
|
|
@ -336,13 +336,13 @@ const dragSame = async (protyle: IProtyle, sourceElements: Element[], targetElem
|
||||||
headingIds.data.reverse().forEach((headingId: string) => {
|
headingIds.data.reverse().forEach((headingId: string) => {
|
||||||
undoOperations.push({
|
undoOperations.push({
|
||||||
action: "move",
|
action: "move",
|
||||||
id,
|
id: headingId,
|
||||||
previousID,
|
previousID,
|
||||||
parentID,
|
parentID,
|
||||||
});
|
});
|
||||||
doOperations.push({
|
doOperations.push({
|
||||||
action: "move",
|
action: "move",
|
||||||
id:headingId,
|
id: headingId,
|
||||||
previousID: targetId,
|
previousID: targetId,
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue