Support for saving .sy files in the single-line format https://github.com/siyuan-note/siyuan/issues/8712

This commit is contained in:
Daniel 2023-07-09 22:24:32 +08:00
parent eb65bb4ec0
commit 9eeee3965a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
13 changed files with 55 additions and 22 deletions

View file

@ -313,6 +313,8 @@ func setFiletree(c *gin.Context) {
model.Conf.FileTree = fileTree
model.Conf.Save()
util.UseSingleLineSave = model.Conf.FileTree.UseSingleLineSave
ret.Data = model.Conf.FileTree
}