🎨 Improve reference count refresh after converting heading block level https://github.com/siyuan-note/siyuan/issues/15298

This commit is contained in:
Daniel 2025-07-17 17:25:47 +08:00
parent 280f97ee81
commit 848037b0f5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -655,6 +655,7 @@ func GetHeadingLevelTransaction(id string, level int) (transaction *Transaction,
ccH := c.ChildrenByType(ast.NodeHeading)
childrenHeadings = append(childrenHeadings, ccH...)
}
fillBlockRefCount(childrenHeadings)
transaction = &Transaction{}
luteEngine := util.NewLute()