mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Supports specifying the notebook to save new docs https://github.com/siyuan-note/siyuan/issues/10671
This commit is contained in:
parent
e2c14eb11f
commit
43359e92ec
4 changed files with 0 additions and 24 deletions
|
|
@ -326,12 +326,6 @@ func setNotebookConf(c *gin.Context) {
|
|||
}
|
||||
|
||||
boxConf.DocCreateSavePath = strings.TrimSpace(boxConf.DocCreateSavePath)
|
||||
if "../" == boxConf.DocCreateSavePath {
|
||||
boxConf.DocCreateSavePath = "../Untitled"
|
||||
}
|
||||
if "/" == boxConf.DocCreateSavePath {
|
||||
boxConf.DocCreateSavePath = "/Untitled"
|
||||
}
|
||||
|
||||
box.SaveConf(boxConf)
|
||||
ret.Data = boxConf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue