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) => {
|
||||
undoOperations.push({
|
||||
action: "move",
|
||||
id,
|
||||
id: headingId,
|
||||
previousID,
|
||||
parentID,
|
||||
});
|
||||
doOperations.push({
|
||||
action: "move",
|
||||
id:headingId,
|
||||
id: headingId,
|
||||
previousID: targetId,
|
||||
});
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue