mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 02:37:02 +00:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
@@ -608,7 +608,7 @@ func buildLinkRefs(defRootID string, refs []*sql.Ref, keywords []string) (ret []
|
||||
continue
|
||||
}
|
||||
|
||||
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type {
|
||||
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type || "NodeCallout" == parent.Type {
|
||||
refBlock := parentRefParagraphs[parent.ID]
|
||||
if nil == refBlock {
|
||||
continue
|
||||
|
||||
@@ -85,7 +85,7 @@ type RiffCard struct {
|
||||
|
||||
func (block *Block) IsContainerBlock() bool {
|
||||
switch block.Type {
|
||||
case "NodeDocument", "NodeBlockquote", "NodeList", "NodeListItem", "NodeSuperBlock":
|
||||
case "NodeDocument", "NodeBlockquote", "NodeList", "NodeListItem", "NodeSuperBlock", "NodeCallout":
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
@@ -650,7 +650,7 @@ func buildBacklinkListItemRefs(refDefs []*RefDefs) (originalRefBlockIDs map[stri
|
||||
continue
|
||||
}
|
||||
|
||||
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type {
|
||||
if "NodeListItem" == parent.Type || "NodeBlockquote" == parent.Type || "NodeSuperBlock" == parent.Type || "NodeCallout" == parent.Type {
|
||||
refBlock := parentRefParagraphs[parent.ID]
|
||||
if nil == refBlock {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user