Skip to content

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

:art: Copy/Cut folded heading changed to copy/cut `Headings and Bottom Blocks` and support multiple headings copy/cut https://github.com/siyuan-note/siyuan/issues/8019

Daniel2a8b47b51835
diff --git a/kernel/api/block.go b/kernel/api/block.go
index b81d7a845a..5e14a98c9d 100644
--- a/kernel/api/block.go
+++ b/kernel/api/block.go
@@ -199,8 +199,8 @@ func appendHeadingChildren(c *gin.Context) {
}
id := arg["id"].(string)
- dom := arg["dom"].(string)
- model.AppendHeadingChildren(id, dom)
+ childrenDOM := arg["childrenDOM"].(string)
+ model.AppendHeadingChildren(id, childrenDOM)
}
func getHeadingChildrenDOM(c *gin.Context) {