Skip to content

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

:art: Creating a dailynote no longer switches between multiple windows https://github.com/siyuan-note/siyuan/issues/9669

Daniel7f4b7a4844f8
diff --git a/kernel/api/filetree.go b/kernel/api/filetree.go
index bdc7e5a4e0..626db210f7 100644
--- a/kernel/api/filetree.go
+++ b/kernel/api/filetree.go
@@ -490,6 +490,10 @@ func createDailyNote(c *gin.Context) {
}
evt.Callback = arg["callback"]
util.PushEvent(evt)
+
+ ret.Data = map[string]interface{}{
+ "id": tree.Root.ID,
+ }
}
func createDocWithMd(c *gin.Context) {