Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/10814

Vanessa4c4d3ed84f56
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 97da14d344..fff2477600 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -105,6 +105,7 @@ const renderPDF = async (id: string) => {
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" type="text/css" id="baseStyle" href="${servePath}/stage/build/export/base.css?${Constants.SIYUAN_VERSION}"/>
<link rel="stylesheet" type="text/css" id="themeDefaultStyle" href="${servePath}/appearance/themes/daylight/theme.css?${Constants.SIYUAN_VERSION}"/>
+ <script src="${servePath}/stage/protyle/js/protyle-html.js?v=3.0.5" async="" id="protyleWcHtmlScript"></script>
${themeStyle}
<title>${window.siyuan.languages.export} PDF</title>
<style>