🐛 超级块下方块被作为嵌入块时设置显示面包屑后不渲染 Fix https://github.com/siyuan-note/siyuan/issues/6690
This commit is contained in:
parent
d1458167f1
commit
255a9c1e01
1 changed files with 4 additions and 0 deletions
|
@ -280,6 +280,10 @@ func buildBlockBreadcrumb(node *ast.Node) (ret []*BlockPath) {
|
|||
if ast.NodeSuperBlock == prev.Type {
|
||||
// 超级块中包含标题块时下方块面包屑计算不正确 https://github.com/siyuan-note/siyuan/issues/6675
|
||||
b = treenode.SuperBlockLastHeading(prev)
|
||||
if nil == b {
|
||||
// 超级块下方块被作为嵌入块时设置显示面包屑后不渲染 https://github.com/siyuan-note/siyuan/issues/6690
|
||||
b = prev
|
||||
}
|
||||
}
|
||||
|
||||
if ast.NodeHeading == b.Type && headingLevel > b.HeadingLevel {
|
||||
|
|
Loading…
Add table
Reference in a new issue