mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-08 17:58:50 +01:00
This commit is contained in:
parent
82b78cc906
commit
375b2e5cda
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue