An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: The image address bar is automatically converted to an asset after filling in Base64 https://github.com/siyuan-note/siyuan/issues/16132
Daniel48f26f9247aa
diff --git a/kernel/model/import.go b/kernel/model/import.goindex 45053ba55c..cf64c9cb1c 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -1282,6 +1282,11 @@ func processBase64Img(n *ast.Node, dest string, assetDirPath string) {case "image/png":img, decodeErr = png.Decode(dataReader)ext = ".png"+ if nil != decodeErr {+ dataReader.Seek(0, 0)+ img, decodeErr = jpeg.Decode(dataReader)+ ext = ".jpg"+ }case "image/jpeg":img, decodeErr = jpeg.Decode(dataReader)ext = ".jpg"