mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 09:18:49 +01:00
This commit is contained in:
parent
32ec165065
commit
4478829b33
1 changed files with 1 additions and 0 deletions
|
|
@ -602,6 +602,7 @@ const dragSame = async (protyle: IProtyle, sourceElements: Element[], targetElem
|
|||
});
|
||||
}
|
||||
if (!isCopy &&
|
||||
isSameDoc && // 同一文档分屏后,oldSourceParentElement 已经被移走,不可再 update https://github.com/siyuan-note/siyuan/issues/8863
|
||||
oldSourceParentElement && oldSourceParentElement.classList.contains("list") &&
|
||||
oldSourceParentElement.getAttribute("data-subtype") === "o" &&
|
||||
!oldSourceParentElement.isSameNode(sourceElements[0].parentElement) && oldSourceParentElement.childElementCount > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue