mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 Add OCR-related operations to the picture menu https://github.com/siyuan-note/siyuan/issues/7203
This commit is contained in:
parent
9461cc3f95
commit
6d91b2d6f1
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
|
||||||
var linkDestStr, ocrText string
|
var linkDestStr, ocrText string
|
||||||
if nil != linkDest {
|
if nil != linkDest {
|
||||||
linkDestStr = linkDest.TokensStr()
|
linkDestStr = linkDest.TokensStr()
|
||||||
ocrText = util.GetAssetText(linkDestStr)
|
ocrText = util.GetAssetText(linkDestStr, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
linkText := n.ChildByType(ast.NodeLinkText)
|
linkText := n.ChildByType(ast.NodeLinkText)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue