mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 改进标签重命名 Fix https://github.com/siyuan-note/siyuan/issues/6816
This commit is contained in:
parent
e4c3a2d9d0
commit
07ae572d8d
2 changed files with 7 additions and 26 deletions
|
|
@ -1232,11 +1232,11 @@ func nSort(n *ast.Node) int {
|
|||
return 20
|
||||
case ast.NodeSuperBlock:
|
||||
return 30
|
||||
// 以下为行级元素
|
||||
case ast.NodeText, ast.NodeTextMark:
|
||||
if n.IsTextMarkType("tag") {
|
||||
return 205
|
||||
}
|
||||
return 200
|
||||
case ast.NodeTag:
|
||||
return 205
|
||||
}
|
||||
return 100
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue