🎨 Remove the footer Export by SiYuan when exporting image and PDF Fix https://github.com/siyuan-note/siyuan/issues/7838

This commit is contained in:
Liang Ding 2023-03-31 10:51:18 +08:00
parent 1f7fc4cc8f
commit 8a2a724341
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
10 changed files with 1 additions and 29 deletions

View file

@ -27,14 +27,6 @@ export const exportConfig = {
<span class="fn__space"></span>
<input class="b3-switch fn__flex-center" id="addTitle" type="checkbox"${window.siyuan.config.export.addTitle ? " checked" : ""}/>
</label>
<label class="fn__flex b3-label">
<div class="fn__flex-1">
${window.siyuan.languages.export21}
<div class="b3-label__text">${window.siyuan.languages.export22}</div>
</div>
<span class="fn__space"></span>
<input class="b3-switch fn__flex-center" id="addFooter" type="checkbox"${window.siyuan.config.export.addFooter ? " checked" : ""}/>
</label>
<label class="fn__flex b3-label">
<div class="fn__flex-1">
${window.siyuan.languages.export23}
@ -137,7 +129,6 @@ export const exportConfig = {
fetchPost("/api/setting/setExport", {
paragraphBeginningSpace: (exportConfig.element.querySelector("#paragraphBeginningSpace") as HTMLInputElement).checked,
addTitle: (exportConfig.element.querySelector("#addTitle") as HTMLInputElement).checked,
addFooter: (exportConfig.element.querySelector("#addFooter") as HTMLInputElement).checked,
markdownYFM: (exportConfig.element.querySelector("#markdownYFM") as HTMLInputElement).checked,
blockRefMode: parseInt((exportConfig.element.querySelector("#blockRefMode") as HTMLSelectElement).value, 10),
blockEmbedMode: parseInt((exportConfig.element.querySelector("#blockEmbedMode") as HTMLSelectElement).value, 10),