mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-18 13:08:06 +01:00
🎨 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:
parent
1f7fc4cc8f
commit
8a2a724341
10 changed files with 1 additions and 29 deletions
|
|
@ -275,7 +275,7 @@ export const initWindow = () => {
|
|||
};
|
||||
setStorageVal(Constants.LOCAL_EXPORTPDF, window.siyuan.storage[Constants.LOCAL_EXPORTPDF]);
|
||||
try {
|
||||
if (window.siyuan.config.export.addFooter) {
|
||||
if (false) { // TODO 已经移除了之前的“由思源笔记导出”页脚(https://github.com/siyuan-note/siyuan/issues/7838),后面如果需要的话换成自定义页脚
|
||||
ipcData.pdfOptions.displayHeaderFooter = true;
|
||||
ipcData.pdfOptions.headerTemplate = "<span></span>";
|
||||
ipcData.pdfOptions.footerTemplate = `<div style="width:100%;margin-right:${ipcData.pdfOptions.margins.right}in;display: flex;line-height:12px;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue