This commit is contained in:
Vanessa 2024-10-21 22:41:07 +08:00
parent b1ccdd8f88
commit 78ebd3119e
5 changed files with 7 additions and 7 deletions

View file

@ -781,7 +781,7 @@ const dragSame = async (protyle: IProtyle, sourceElements: Element[], targetElem
hasFoldHeading = true;
return true;
}
})
});
if (!isCopy && (sourceElements.length > 1 || hasFoldHeading) &&
sourceElements[0].parentElement.classList.contains("sb") &&
sourceElements[0].parentElement.getAttribute("data-sb-layout") === "col") {