From ea5788728856a78d4ef23fc383285597009164a3 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 1 Jan 2024 17:09:16 +0800 Subject: [PATCH] :bug: The images in the embed blocks are not uploaded to the community hosting https://github.com/siyuan-note/siyuan/issues/10042 --- kernel/model/assets.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/model/assets.go b/kernel/model/assets.go index 16a0a50bb..90ec91908 100644 --- a/kernel/model/assets.go +++ b/kernel/model/assets.go @@ -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 {