mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c1cdb9846c
commit
362f6ffa05
2 changed files with 10 additions and 0 deletions
|
|
@ -1433,6 +1433,7 @@ func buildTypeFilter(types map[string]bool) string {
|
|||
s.VideoBlock = types["videoBlock"]
|
||||
s.IFrameBlock = types["iframeBlock"]
|
||||
s.WidgetBlock = types["widgetBlock"]
|
||||
s.Callout = types["callout"]
|
||||
} else {
|
||||
s.Document = Conf.Search.Document
|
||||
s.Heading = Conf.Search.Heading
|
||||
|
|
@ -1451,6 +1452,7 @@ func buildTypeFilter(types map[string]bool) string {
|
|||
s.VideoBlock = Conf.Search.VideoBlock
|
||||
s.IFrameBlock = Conf.Search.IFrameBlock
|
||||
s.WidgetBlock = Conf.Search.WidgetBlock
|
||||
s.Callout = Conf.Search.Callout
|
||||
}
|
||||
return s.TypeFilter()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue