mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
This commit is contained in:
parent
e492b1fa51
commit
887715dca0
1 changed files with 3 additions and 0 deletions
|
|
@ -232,6 +232,9 @@ func renderBlockDOMByNode(node *ast.Node, luteEngine *lute.Lute) string {
|
|||
// 内容图中不需要渲染数据库角标 https://github.com/siyuan-note/siyuan/issues/15057
|
||||
ial := parse.IAL2Map(n.KramdownIAL)
|
||||
delete(ial, av.NodeAttrNameAvs)
|
||||
|
||||
// 重置 data-node-id 的值,避免触发前端绑定的事件 https://github.com/siyuan-note/siyuan/issues/15088
|
||||
ial["id"] = ast.NewNodeID()
|
||||
n.KramdownIAL = parse.Map2IAL(ial)
|
||||
}
|
||||
rendererFunc := blockRenderer.RendererFuncs[n.Type]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue