An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/14668
Vanessa72a2138ba1e0
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex a26e1e2085..b455231ab5 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -1101,12 +1101,12 @@ export class Toolbar {const exportImg = () => {const msgId = showMessage(window.siyuan.languages.exporting, 0);if (renderElement.getAttribute("data-subtype") === "plantuml") {- fetch(renderElement.querySelector("img").getAttribute("src")).then(function (response) {+ fetch(renderElement.querySelector("object").getAttribute("data")).then(function (response) {return response.blob();}).then(function (blob) {const formData = new FormData();formData.append("file", blob);- formData.append("type", "image/png");+ formData.append("type", "image/svg+xml");fetchPost("/api/export/exportAsFile", formData, (response) => {openByMobile(response.data.file);hideMessage(msgId);