🎨 Supports specifying the notebook to save new docs https://github.com/siyuan-note/siyuan/issues/10671

This commit is contained in:
Daniel 2024-04-26 18:34:47 +08:00
parent e2c14eb11f
commit 43359e92ec
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 0 additions and 24 deletions

View file

@ -217,12 +217,6 @@ func InitConf() {
Conf.FileTree.MaxOpenTabCount = 32
}
Conf.FileTree.DocCreateSavePath = strings.TrimSpace(Conf.FileTree.DocCreateSavePath)
if "../" == Conf.FileTree.DocCreateSavePath {
Conf.FileTree.DocCreateSavePath = "../Untitled"
}
if "/" == Conf.FileTree.DocCreateSavePath {
Conf.FileTree.DocCreateSavePath = "/Untitled"
}
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
util.CurrentCloudRegion = Conf.CloudRegion