mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
6d777b37be
commit
d41b8672cd
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue