Skip to content

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

:art: 添加文档树 `删除文档确认` 选项 https://github.com/siyuan-note/siyuan/issues/5225

Liang Dingcfde8e3ea8d8
diff --git a/kernel/conf/filetree.go b/kernel/conf/filetree.go
index 5a9bb0b852..355ac8773d 100644
--- a/kernel/conf/filetree.go
+++ b/kernel/conf/filetree.go
@@ -27,6 +27,7 @@ type FileTree struct {
CreateDocNameTemplate string `json:"createDocNameTemplate"` // 新建文档名模板
MaxListCount int `json:"maxListCount"` // 最大列出数量
AllowCreateDeeper bool `json:"allowCreateDeeper"` // 允许创建超过 7 层深度的子文档
+ RemoveDocConfirm int `json:"removeDocConfirm"` // 删除文档时是否需要确认,0:需要确认,1:不需要确认
Sort int `json:"sort"` // 排序方式
}