mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 04:05:16 +01:00
🐛 The insertion position is wrong after converting the list to paragraph block in the floating window https://github.com/siyuan-note/siyuan/issues/15396
This commit is contained in:
parent
be684aee76
commit
561d4cc891
3 changed files with 4 additions and 4 deletions
|
|
@ -86,7 +86,7 @@ func getBlockSiblingID(c *gin.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
func getBlockIDs(c *gin.Context) {
|
||||
func getBlockRelevantIDs(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ func getBlockIDs(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
parentID, previousID, nextID, err := model.GetBlockIDs(id)
|
||||
parentID, previousID, nextID, err := model.GetBlockRelevantIDs(id)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue