Revert Document block sort value changed from 0 to 100 https://github.com/siyuan-note/siyuan/issues/12886

This commit is contained in:
Daniel 2024-10-24 01:08:10 +08:00
parent da341269cd
commit 94f378aa55
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 33 additions and 34 deletions

View file

@ -1445,7 +1445,7 @@ func nSort(n *ast.Node) int {
case ast.NodeAttributeView:
return 30
case ast.NodeDocument:
return 100
return 0
case ast.NodeText, ast.NodeTextMark:
if n.IsTextMarkType("tag") {
return 205