Vanessa 2022-11-22 00:52:43 +08:00
parent 168d673a0c
commit 3ab71117f6

View file

@ -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,
});
})