mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 反链面板中文档标题在鼠标悬浮时显示文档完整路径 https://github.com/siyuan-note/insider/issues/1088
This commit is contained in:
parent
8b5f2cad5a
commit
ef5a911f57
2 changed files with 5 additions and 0 deletions
|
|
@ -120,6 +120,10 @@ func toFlatTree(blocks []*Block, baseDepth int, typ string) (ret []*Path) {
|
|||
treeNode.Blocks = append(treeNode.Blocks, c)
|
||||
}
|
||||
ret = append(ret, treeNode)
|
||||
|
||||
if "backlink" == typ {
|
||||
treeNode.HPath = root.HPath
|
||||
}
|
||||
}
|
||||
|
||||
sort.Slice(ret, func(i, j int) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue