mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
🎨 Supports setting newly created sub-documents to be listed last https://github.com/siyuan-note/siyuan/issues/16327
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
72acce2c86
commit
6196173898
23 changed files with 90 additions and 9 deletions
|
|
@ -34,8 +34,8 @@ type FileTree struct {
|
|||
CloseTabsOnStart bool `json:"closeTabsOnStart"` // 启动时关闭所有页签
|
||||
UseSingleLineSave bool `json:"useSingleLineSave"` // 使用单行保存文档 .sy 和属性视图 .json
|
||||
LargeFileWarningSize int `json:"largeFileWarningSize"` // 大文件警告大小(单位:MB)
|
||||
|
||||
Sort int `json:"sort"` // 排序方式
|
||||
CreateDocAtTop *bool `json:"createDocAtTop"` // 在顶部创建新文档 https://github.com/siyuan-note/siyuan/issues/16327
|
||||
Sort int `json:"sort"` // 排序方式
|
||||
}
|
||||
|
||||
func NewFileTree() *FileTree {
|
||||
|
|
@ -49,5 +49,6 @@ func NewFileTree() *FileTree {
|
|||
CloseTabsOnStart: false,
|
||||
UseSingleLineSave: util.UseSingleLineSave,
|
||||
LargeFileWarningSize: util.LargeFileWarningSize,
|
||||
CreateDocAtTop: func() *bool { b := false; return &b }(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue