mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-03 22:21:48 +01:00
This commit is contained in:
parent
f6dd7722ad
commit
622b6d2c84
12 changed files with 27 additions and 8 deletions
|
|
@ -189,7 +189,7 @@ func (s *Search) TypeFilter() string {
|
|||
buf.WriteString(",")
|
||||
}
|
||||
// 无法搜索到 iframe 块、视频块和音频块 https://github.com/siyuan-note/siyuan/issues/3604
|
||||
buf.WriteString("'iframe','query_embed','video','audio',")
|
||||
buf.WriteString("'iframe','video','audio',")
|
||||
// 挂件块支持内置属性搜索 https://github.com/siyuan-note/siyuan/issues/4497
|
||||
buf.WriteString("'widget',")
|
||||
|
||||
|
|
|
|||
|
|
@ -398,7 +398,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
|
|||
WaitForWritingFiles()
|
||||
|
||||
if !force {
|
||||
SyncData(false, true, false)
|
||||
syncData(false, true, false)
|
||||
if 0 != ExitSyncSucc {
|
||||
exitCode = 1
|
||||
return
|
||||
|
|
|
|||
|
|
@ -1220,7 +1220,7 @@ func updateRefText(refNode *ast.Node, changedDefNodes map[string]*ast.Node) (cha
|
|||
func AutoIndexEmbedBlock() {
|
||||
for {
|
||||
task.AppendTask(task.DatabaseIndexEmbedBlock, autoIndexEmbedBlock)
|
||||
time.Sleep(30 * time.Second)
|
||||
time.Sleep(10 * time.Minute)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue