mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 19:30:04 -06:00
This commit is contained in:
@@ -201,7 +201,10 @@ func fillAttributeViewGalleryCardCover(attrView *av.AttributeView, view *av.View
|
||||
break
|
||||
}
|
||||
|
||||
galleryCard.CoverURL = assetValue.MAsset[0].Content
|
||||
p := assetValue.MAsset[0].Content
|
||||
if util.IsAssetsImage(p) {
|
||||
galleryCard.CoverURL = p
|
||||
}
|
||||
return
|
||||
case av.CoverFromContentBlock:
|
||||
blockValue := getBlockValue(cardValues)
|
||||
|
||||
Reference in New Issue
Block a user