🐛 Pandoc is not initialized in some cases Fix https://github.com/siyuan-note/siyuan/issues/8533

This commit is contained in:
Daniel 2023-06-15 10:15:13 +08:00
parent e93c62e49f
commit a515a4f992
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 33 additions and 5 deletions

View file

@ -253,6 +253,10 @@ func updateEmbedBlockContent(embedBlockID string, queryResultBlocks []*EmbedBloc
}
func init() {
subscribeSQLEvents()
}
func subscribeSQLEvents() {
//eventbus.Subscribe(eventbus.EvtSQLInsertBlocks, func(context map[string]interface{}, current, total, blockCount int, hash string) {
// if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
// // Android/iOS 端不显示数据索引和搜索索引状态提示 https://github.com/siyuan-note/siyuan/issues/6392