mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
b8046c9ad7
commit
44d149d392
2 changed files with 4 additions and 3 deletions
|
|
@ -330,6 +330,7 @@ const dragSame = async (protyle: IProtyle, sourceElements: Element[], targetElem
|
|||
}
|
||||
}
|
||||
if (item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") {
|
||||
item.removeAttribute("fold");
|
||||
foldHeadingIds.push(id);
|
||||
const headingIds = await fetchSyncPost("/api/block/getHeadingChildrenIDs", {id})
|
||||
headingIds.data.reverse().forEach((headingId: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue