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

Vanessa015bb3bc622a
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index fff2477600..ca00e89e72 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -105,7 +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>
+ <script src="${servePath}/stage/protyle/js/protyle-html.js?v=3.0.5"></script>
${themeStyle}
<title>${window.siyuan.languages.export} PDF</title>
<style>
@@ -646,6 +646,8 @@ const onExport = (data: IWebSocketData, filePath: string, exportOption: IExportO
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <script src="stage/protyle/js/lute/lute.min.js"></script>
+ <script src="stage/protyle/js/protyle-html.js?v=3.0.5"></script>
<link rel="stylesheet" type="text/css" id="baseStyle" href="stage/build/export/base.css?${Constants.SIYUAN_VERSION}"/>
<link rel="stylesheet" type="text/css" id="themeDefaultStyle" href="appearance/themes/${themeName}/theme.css?${Constants.SIYUAN_VERSION}"/>
${themeStyle}