mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
✨ 行级元素支持多重样式类型 https://github.com/siyuan-note/siyuan/issues/2911
This commit is contained in:
parent
c5f0b96929
commit
02d9245bcf
1 changed files with 5 additions and 1 deletions
|
|
@ -90,7 +90,11 @@ func resetTree(tree *parse.Tree, titleSuffix string) {
|
|||
return ast.WalkContinue
|
||||
}
|
||||
if "1" != refIDs[defID] {
|
||||
n.Tokens = []byte(refIDs[defID])
|
||||
if ast.NodeBlockRefID == n.Type {
|
||||
n.Tokens = []byte(refIDs[defID])
|
||||
} else if ast.NodeTextMark == n.Type {
|
||||
n.TextMarkBlockRefID = refIDs[defID]
|
||||
}
|
||||
}
|
||||
return ast.WalkContinue
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue