mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 23:36:10 +01:00
🎨 Improve handling of copy block ref when including images https://github.com/siyuan-note/siyuan/issues/9317
This commit is contained in:
parent
e74733b4e1
commit
17dd264479
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue