mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 02:47:02 +00:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -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:仅显示标题下方的块
|
||||
|
||||
Reference in New Issue
Block a user