Sfoglia il codice sorgente

:art: Improve default search type filtering https://github.com/siyuan-note/siyuan/issues/11003

Daniel 1 anno fa
parent
commit
9be6c4caa3
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 8 8
      kernel/conf/search.go

+ 8 - 8
kernel/conf/search.go

@@ -69,21 +69,21 @@ func NewSearch() *Search {
 	return &Search{
 		Document:      true,
 		Heading:       true,
-		List:          true,
-		ListItem:      true,
+		List:          false,
+		ListItem:      false,
 		CodeBlock:     true,
 		MathBlock:     true,
 		Table:         true,
-		Blockquote:    true,
-		SuperBlock:    true,
+		Blockquote:    false,
+		SuperBlock:    false,
 		Paragraph:     true,
 		HTMLBlock:     true,
 		EmbedBlock:    false,
 		DatabaseBlock: true,
-		AudioBlock:    true,
-		VideoBlock:    true,
-		IFrameBlock:   true,
-		WidgetBlock:   true,
+		AudioBlock:    false,
+		VideoBlock:    false,
+		IFrameBlock:   false,
+		WidgetBlock:   false,
 
 		Limit:         64,
 		CaseSensitive: false,