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: Remove `scroll` attribute when converting the document to a heading https://github.com/siyuan-note/siyuan/issues/9297
Daniel4c47fdbdb195
diff --git a/kernel/model/heading.go b/kernel/model/heading.goindex 47ae237e0f..dc41413bd7 100644--- a/kernel/model/heading.go+++ b/kernel/model/heading.go@@ -160,6 +160,7 @@ func Doc2Heading(srcID, targetID string, after bool) (srcTreeBox, srcTreePath stheadingLevel = 6}+ srcTree.Root.RemoveIALAttr("scroll") // Remove `scroll` attribute when converting the document to a heading https://github.com/siyuan-note/siyuan/issues/9297srcTree.Root.RemoveIALAttr("type")tagIAL := srcTree.Root.IALAttr("tags")tags := strings.Split(tagIAL, ",")