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
Vanessa29270b4e884c
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.tsindex 42ee4b2c4a..cadc7890da 100644--- a/app/src/protyle/export/index.ts+++ b/app/src/protyle/export/index.ts@@ -558,6 +558,13 @@ const renderPDF = async (id: string) => {});setPadding();renderPreview(response.data);+ window.addEventListener("keydown", (event) => {+ if (event.key === "Escape") {+ const {ipcRenderer} = require("electron");+ ipcRenderer.send("${Constants.SIYUAN_CMD}", "destroy")+ event.preventDefault();+ }+ })});</script></body></html>`;fetchPost("/api/export/exportTempContent", {content: html}, (response) => {