An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Hide text in breadcrumb of last non-document path in embed block https://github.com/siyuan-note/siyuan/issues/13866
Daniele9b8ff7a5565
diff --git a/kernel/model/blockinfo.go b/kernel/model/blockinfo.goindex c68ef1717d..f5043dc15e 100644--- a/kernel/model/blockinfo.go+++ b/kernel/model/blockinfo.go@@ -554,8 +554,15 @@ func buildBlockBreadcrumb(node *ast.Node, excludeTypes []string, isEmbedBlock boname = util.UnescapeHTML(name)name = util.EscapeHTML(name)- if !isEmbedBlock && parent == node {- name = ""+ if !isEmbedBlock {+ if parent == node {+ name = ""+ }+ } else {+ if ast.NodeDocument != parent.Type {+ // 在嵌入块中隐藏最后一个非文档路径的面包屑中的文本 Hide text in breadcrumb of last non-document path in embed block https://github.com/siyuan-note/siyuan/issues/13866+ name = ""+ }}if add {