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

Daniel8ad3cb00ad67
diff --git a/kernel/api/block.go b/kernel/api/block.go
index 826b92f019..b81d7a845a 100644
--- a/kernel/api/block.go
+++ b/kernel/api/block.go
@@ -213,7 +213,7 @@ func getHeadingChildrenDOM(c *gin.Context) {
}
id := arg["id"].(string)
- removeFoldAttr := false
+ removeFoldAttr := true
if nil != arg["removeFoldAttr"] {
removeFoldAttr = arg["removeFoldAttr"].(bool)
}