mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
🧑💻 Improve kernel API /api/block/updateBlock and /api/block/batchUpdateBlock https://github.com/siyuan-note/siyuan/issues/15301
This commit is contained in:
parent
56a5f13728
commit
de67799c8f
1 changed files with 0 additions and 3 deletions
|
|
@ -597,9 +597,6 @@ func updateBlock(c *gin.Context) {
|
|||
for _, n := range toAppends {
|
||||
oldTree.Root.AppendChild(n)
|
||||
}
|
||||
|
||||
model.WriteTreeUpsertQueue(oldTree)
|
||||
model.ReloadProtyle(id)
|
||||
} else {
|
||||
if ast.NodeListItem == node.Type && ast.NodeList == tree.Root.FirstChild.Type {
|
||||
// 使用 API `api/block/updateBlock` 更新列表项时渲染错误 https://github.com/siyuan-note/siyuan/issues/4658
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue