🐛 The images in the embed blocks are not uploaded to the community hosting https://github.com/siyuan-note/siyuan/issues/10042

This commit is contained in:
Daniel 2024-01-01 17:09:16 +08:00
parent d71f488880
commit ea57887288
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1058,6 +1058,8 @@ func emojisInTree(tree *parse.Tree) (ret []string) {
}
func assetsLinkDestsInQueryEmbedNodes(tree *parse.Tree) (ret []string) {
// The images in the embed blocks are not uploaded to the community hosting https://github.com/siyuan-note/siyuan/issues/10042
ret = []string{}
ast.Walk(tree.Root, func(n *ast.Node, entering bool) ast.WalkStatus {
if !entering || ast.NodeBlockQueryEmbedScript != n.Type {