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: 导出 PDF 预览界面不受主界面缩放影响 Fix https://github.com/siyuan-note/siyuan/issues/6262
Liang Ding0eb535c012e7
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.tsindex 96e8c1f75c..7a6c591733 100644--- a/app/src/protyle/export/index.ts+++ b/app/src/protyle/export/index.ts@@ -383,6 +383,7 @@ const renderPDF = (id: string) => {});window.siyuan.printWin.webContents.userAgent = `SiYuan/${app.getVersion()} https://b3log.org/siyuan Electron`;window.siyuan.printWin.once("ready-to-show", () => {+ // 导出 PDF 预览界面不受主界面缩放影响 https://github.com/siyuan-note/siyuan/issues/6262window.siyuan.printWin.webContents.setZoomFactor(1);})fetchPost("/api/export/exportTempContent", {content: html}, (response) => {