mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -305,6 +305,7 @@ const dragSb = async (protyle: IProtyle, sourceElements: Element[], targetElemen
|
||||
doOperations.push(...moveToResult.doOperations);
|
||||
undoOperations.push(...moveToResult.undoOperations);
|
||||
const newSourceParentElement = moveToResult.newSourceElements;
|
||||
// 横向超级块A内两个元素拖拽成纵向超级块B,取消超级块A会导致 targetElement 被删除,需先移动再删除 https://github.com/siyuan-note/siyuan/issues/16292
|
||||
let removeIndex = doOperations.length - 1;
|
||||
doOperations.find((item, index) => {
|
||||
if (item.action === "delete" && item.id === targetMoveUndo.parentID) {
|
||||
|
||||
Reference in New Issue
Block a user