From de67799c8f8e676bc849857abadb5c1089ef3b95 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 16 Jul 2025 00:06:36 +0800 Subject: [PATCH] :technologist: Improve kernel API `/api/block/updateBlock` and `/api/block/batchUpdateBlock` https://github.com/siyuan-note/siyuan/issues/15301 --- kernel/api/block_op.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/api/block_op.go b/kernel/api/block_op.go index 7bd20fa02..dc60f2cf9 100644 --- a/kernel/api/block_op.go +++ b/kernel/api/block_op.go @@ -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