Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-10 13:04:29 +08:00
parent 4f39f2a29e
commit 30a960ef1f
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -786,6 +786,11 @@ func GetBlockDOMs(ids []string) (ret map[string]string) {
if nil == node {
continue
}
if parentFoldedHeading := treenode.GetParentFoldedHeading(node); nil != parentFoldedHeading {
node.SetIALAttr("parent-heading", parentFoldedHeading.ID)
}
ret[id] = luteEngine.RenderNodeBlockDOM(node)
}
return