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: fix https://github.com/siyuan-note/siyuan/issues/6593 2
Vanessa6c8b908eb85e
diff --git a/app/src/protyle/export/util.ts b/app/src/protyle/export/util.tsindex 9756113373..1efb1aa318 100644--- a/app/src/protyle/export/util.ts+++ b/app/src/protyle/export/util.ts@@ -57,6 +57,16 @@ export const exportImage = (id: string) => {item.style.zoom = item.parentElement.clientWidth / item.clientWidth;}});+ previewElement.querySelectorAll(".li > .protyle-action > svg").forEach(item => {+ const id = item.firstElementChild.getAttribute("xlink:href")+ const symbolElements = document.querySelectorAll(id)+ let viewBox = "0 0 32 32";+ if (id === "#iconDot") {+ viewBox = "0 0 20 20";+ }+ item.setAttribute("viewBox", viewBox);+ item.innerHTML = symbolElements[symbolElements.length - 1].innerHTML;+ });const btnsElement = exportDialog.element.querySelectorAll(".b3-button");btnsElement[0].addEventListener("click", () => {exportDialog.destroy();