mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 04:05:16 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
d421bd2332
commit
de6a328362
1 changed files with 3 additions and 0 deletions
|
|
@ -297,6 +297,9 @@ func searchEmbedBlock(c *gin.Context) {
|
|||
excludeIDsArg := arg["excludeIDs"].([]interface{})
|
||||
var excludeIDs []string
|
||||
for _, excludeID := range excludeIDsArg {
|
||||
if nil == excludeID {
|
||||
continue
|
||||
}
|
||||
excludeIDs = append(excludeIDs, excludeID.(string))
|
||||
}
|
||||
headingMode := 0 // 0:显示标题与下方的块,1:仅显示标题,2:仅显示标题下方的块
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue