mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
4f39f2a29e
commit
30a960ef1f
1 changed files with 5 additions and 0 deletions
|
|
@ -786,6 +786,11 @@ func GetBlockDOMs(ids []string) (ret map[string]string) {
|
||||||
if nil == node {
|
if nil == node {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if parentFoldedHeading := treenode.GetParentFoldedHeading(node); nil != parentFoldedHeading {
|
||||||
|
node.SetIALAttr("parent-heading", parentFoldedHeading.ID)
|
||||||
|
}
|
||||||
|
|
||||||
ret[id] = luteEngine.RenderNodeBlockDOM(node)
|
ret[id] = luteEngine.RenderNodeBlockDOM(node)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue