mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15665
This commit is contained in:
parent
e7eb62e660
commit
77c1aa49b3
1 changed files with 1 additions and 2 deletions
|
@ -4302,12 +4302,11 @@ func replaceAttributeViewBlock0(attrView *av.AttributeView, oldBlockID, newBlock
|
|||
}
|
||||
bindBlockAv(tx, avID, newBlockID)
|
||||
|
||||
blockVal.Block.ID = newBlockID
|
||||
icon, content := getNodeAvBlockText(node, "")
|
||||
content = util.UnescapeHTML(content)
|
||||
blockVal.Block.Icon, blockVal.Block.Content = icon, content
|
||||
|
||||
avIDs := replaceRelationAvValues(avID, blockVal.Block.ID, newBlockID)
|
||||
blockVal.Block.ID = newBlockID
|
||||
changedAvIDs = append(changedAvIDs, avIDs...)
|
||||
} else {
|
||||
blockVal.Block.ID = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue