mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 10:39:32 -06:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
@@ -441,10 +441,8 @@ func fillGalleryCardCover(attrView *av.AttributeView, view *av.View, cardValues
|
||||
|
||||
if "" == galleryCard.CoverURL {
|
||||
if ast.NodeDocument == node.Type {
|
||||
galleryCard.CoverContent = node.IALAttr("title")
|
||||
return
|
||||
node = node.FirstChild
|
||||
}
|
||||
|
||||
galleryCard.CoverContent = renderBlockDOMByNode(node, luteEngine)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user