mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
7a138a5836
commit
0428d050d0
2 changed files with 5 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import (
|
|||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/siyuan-note/logging"
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
|
|
@ -282,6 +283,7 @@ func sortTags(tags Tags) {
|
|||
|
||||
func SearchTags(keyword string) (ret []string) {
|
||||
ret = []string{}
|
||||
defer logging.Recover() // TODO: 定位 无法添加题头图标签 https://github.com/siyuan-note/siyuan/issues/6756
|
||||
|
||||
labels := labelBlocksByKeyword(keyword)
|
||||
for label, _ := range labels {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue