Skip to content

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

:art: Add OCR-related operations to the picture menu https://github.com/siyuan-note/siyuan/issues/7203

Liang Ding6d91b2d6f15e
diff --git a/kernel/treenode/node.go b/kernel/treenode/node.go
index 65b0524aee..57710f2699 100644
--- a/kernel/treenode/node.go
+++ b/kernel/treenode/node.go
@@ -172,7 +172,7 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
var linkDestStr, ocrText string
if nil != linkDest {
linkDestStr = linkDest.TokensStr()
- ocrText = util.GetAssetText(linkDestStr)
+ ocrText = util.GetAssetText(linkDestStr, false)
}
linkText := n.ChildByType(ast.NodeLinkText)