Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Danielea5788728856
diff --git a/kernel/model/assets.go b/kernel/model/assets.go
index 16a0a50bbb..90ec91908b 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 {