mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve breadcrumb in embed blocks https://github.com/siyuan-note/siyuan/issues/13099
This commit is contained in:
parent
01415b4821
commit
14f5570558
3 changed files with 5 additions and 5 deletions
|
|
@ -887,7 +887,7 @@ func getEmbeddedBlock(trees map[string]*parse.Tree, sqlBlock *sql.Block, heading
|
|||
}
|
||||
|
||||
if breadcrumb {
|
||||
blockPaths = buildBlockBreadcrumb(def, nil)
|
||||
blockPaths = buildBlockBreadcrumb(def, nil, true)
|
||||
}
|
||||
if 1 > len(blockPaths) {
|
||||
blockPaths = []*BlockPath{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue