|
@@ -166,10 +166,10 @@ const renderPDF = (id: string) => {
|
|
<label class="b3-label">
|
|
<label class="b3-label">
|
|
<div>
|
|
<div>
|
|
${window.siyuan.languages.exportPDF3}
|
|
${window.siyuan.languages.exportPDF3}
|
|
- <span id="scaleTip" style="float: right;color: var(--b3-theme-on-background);">${localData.scale||1}</span>
|
|
|
|
|
|
+ <span id="scaleTip" style="float: right;color: var(--b3-theme-on-background);">${localData.scale || 1}</span>
|
|
</div>
|
|
</div>
|
|
<span class="fn__hr"></span>
|
|
<span class="fn__hr"></span>
|
|
- <input style="width: 192px" value="${localData.scale||1}" id="scale" step="0.1" class="b3-slider" type="range" min="0.1" max="2">
|
|
|
|
|
|
+ <input style="width: 192px" value="${localData.scale || 1}" id="scale" step="0.1" class="b3-slider" type="range" min="0.1" max="2">
|
|
</label>
|
|
</label>
|
|
<label class="b3-label">
|
|
<label class="b3-label">
|
|
<div>
|
|
<div>
|
|
@@ -199,7 +199,7 @@ const renderPDF = (id: string) => {
|
|
<button class="b3-button b3-button--text">${window.siyuan.languages.confirm}</button>
|
|
<button class="b3-button b3-button--text">${window.siyuan.languages.confirm}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-<div class="protyle-wysiwyg protyle-wysiwyg--attr" id="preview">
|
|
|
|
|
|
+<div class="protyle-wysiwyg${window.siyuan.config.editor.displayBookmarkIcon ? " protyle-wysiwyg--attr" : ""}" id="preview">
|
|
<div class="fn__loading" style="left:0"><img width="48px" src="${servePath}/stage/loading-pure.svg"></div>
|
|
<div class="fn__loading" style="left:0"><img width="48px" src="${servePath}/stage/loading-pure.svg"></div>
|
|
</div>
|
|
</div>
|
|
<script src="${servePath}/appearance/icons/${window.siyuan.config.appearance.icon}/icon.js?${Constants.SIYUAN_VERSION}"></script>
|
|
<script src="${servePath}/appearance/icons/${window.siyuan.config.appearance.icon}/icon.js?${Constants.SIYUAN_VERSION}"></script>
|
|
@@ -477,7 +477,7 @@ const onExport = (data: IWebSocketData, filePath: string, type: string, removeAs
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
-<div class="${["htmlmd", "word"].includes(type) ? "b3-typography" : "protyle-wysiwyg protyle-wysiwyg--attr"}" style="max-width: 800px;margin: 0 auto;" id="preview">${data.data.content}</div>
|
|
|
|
|
|
+<div class="${["htmlmd", "word"].includes(type) ? "b3-typography" : "protyle-wysiwyg" + (window.siyuan.config.editor.displayBookmarkIcon ? " protyle-wysiwyg--attr" : "")}" style="max-width: 800px;margin: 0 auto;" id="preview">${data.data.content}</div>
|
|
<script src="appearance/icons/${window.siyuan.config.appearance.icon}/icon.js?${Constants.SIYUAN_VERSION}"></script>
|
|
<script src="appearance/icons/${window.siyuan.config.appearance.icon}/icon.js?${Constants.SIYUAN_VERSION}"></script>
|
|
<script src="stage/build/export/protyle-method.js?${Constants.SIYUAN_VERSION}"></script>
|
|
<script src="stage/build/export/protyle-method.js?${Constants.SIYUAN_VERSION}"></script>
|
|
<script src="stage/protyle/js/lute/lute.min.js?${Constants.SIYUAN_VERSION}"></script>
|
|
<script src="stage/protyle/js/lute/lute.min.js?${Constants.SIYUAN_VERSION}"></script>
|