An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Abnormal status of newly created blocks after shorthands synchronization https://github.com/siyuan-note/siyuan/issues/18116
Daniel52ec7a73f747
diff --git a/kernel/model/shortcuts.go b/kernel/model/shortcuts.goindex fe4614207f..eadd4ce933 100644--- a/kernel/model/shortcuts.go+++ b/kernel/model/shortcuts.go@@ -218,7 +218,10 @@ func MoveLocalShorthands(boxID string) (retIDs []string, err error) {last.InsertAfter(node)}- indexWriteTreeIndexQueue(tree)+ if err = indexWriteTreeUpsertQueue(tree); nil != err {+ logging.LogErrorf("upsert shorthand merged tree failed: %s", err)+ return+ }util.PushReloadProtyle(tree.ID)}}