Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16026

Daniel73613836b528
diff --git a/kernel/model/file.go b/kernel/model/file.go
index b7759cf57a..7fb9462e79 100644
--- a/kernel/model/file.go
+++ b/kernel/model/file.go
@@ -1068,6 +1068,7 @@ func CreateWithMarkdown(tags, boxID, hPath, md, parentID, id string, withMath bo
SetBlockAttrs(retID, nameValues)
FlushTxQueue()
+ box.addMinSort(path.Dir(hPath), retID)
return
}