🎨 Improve handling of copy block ref when including images https://github.com/siyuan-note/siyuan/issues/9317

This commit is contained in:
Daniel 2023-09-30 19:34:28 +08:00
parent e74733b4e1
commit 17dd264479
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -120,7 +120,7 @@ func GetBlockRefText(id string) string {
func GetDOMText(dom string) (ret string) {
luteEngine := NewLute()
tree := luteEngine.BlockDOM2Tree(dom)
ret = renderBlockText(tree.Root, nil)
ret = renderBlockText(tree.Root.FirstChild, nil)
return
}