mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
0a32a1e5ae
commit
33b7f6f631
1 changed files with 4 additions and 4 deletions
|
|
@ -39,8 +39,8 @@ import (
|
|||
)
|
||||
|
||||
type EmbedBlock struct {
|
||||
Block *Block `json:"block"`
|
||||
BlockPath []*BlockPath `json:"blockPath"`
|
||||
Block *Block `json:"block"`
|
||||
BlockPaths []*BlockPath `json:"blockPaths"`
|
||||
}
|
||||
|
||||
func SearchEmbedBlock(stmt string, excludeIDs []string, headingMode int) (ret []*EmbedBlock) {
|
||||
|
|
@ -81,8 +81,8 @@ func searchEmbedBlock(stmt string, excludeIDs []string, headingMode int) (ret []
|
|||
continue
|
||||
}
|
||||
ret = append(ret, &EmbedBlock{
|
||||
Block: block,
|
||||
BlockPath: blockPaths,
|
||||
Block: block,
|
||||
BlockPaths: blockPaths,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue