mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Ctrl+N should follow notebook create save path https://ld246.com/article/1695965429553
This commit is contained in:
@@ -503,7 +503,7 @@ func createDocWithMd(c *gin.Context) {
|
||||
hPath = "/" + hPath
|
||||
}
|
||||
|
||||
err := model.CreateWithMarkdown(notebook, hPath, markdown, parentID, id)
|
||||
id, err := model.CreateWithMarkdown(notebook, hPath, markdown, parentID, id)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
||||
Reference in New Issue
Block a user