mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve list item, super block and blockquote backlink propagation https://github.com/siyuan-note/siyuan/issues/13776
This commit is contained in:
parent
58c257960b
commit
1d77cdefc2
2 changed files with 26 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ func IsBlockRef(n *ast.Node) bool {
|
|||
if nil == n {
|
||||
return false
|
||||
}
|
||||
return ast.NodeTextMark == n.Type && n.IsTextMarkType("block-ref")
|
||||
return (ast.NodeTextMark == n.Type && n.IsTextMarkType("block-ref")) || ast.NodeBlockRef == n.Type
|
||||
}
|
||||
|
||||
func IsBlockLink(n *ast.Node) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue