mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 19:38:48 +01:00
🐛 文档只有一个标题块时全选其行级内容后剪切刷新触发状态异常 Fix https://github.com/siyuan-note/siyuan/issues/5746
This commit is contained in:
parent
35d0c63928
commit
231cb71a4d
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ func WriteTree(tree *parse.Tree) (err error) {
|
|||
newP := parse.NewParagraph()
|
||||
tree.Root.AppendChild(newP)
|
||||
tree.Root.SetIALAttr("updated", util.TimeFromID(newP.ID))
|
||||
treenode.ReindexBlockTree(tree)
|
||||
}
|
||||
|
||||
renderer := render.NewJSONRenderer(tree, luteEngine.RenderOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue