Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop

This commit is contained in:
Elian Doran 2025-02-01 16:59:17 +02:00
commit eedad4170e
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,16 @@
--launcher-pane-background-color: var(--main-background-color);
--main-text-color: black;
--input-text-color: var(--main-text-color);
--print-font-size: 11pt;
}
.ck-content {
font-size: var(--print-font-size);
}
.note-detail-readonly-text {
padding: 0 !important;
}
.no-print,

View File

@ -76,6 +76,8 @@ ipcMain.on("export-as-pdf", async (e, opts: ExportAsPdfOpts) => {
try {
buffer = await browserWindow.webContents.printToPDF({
landscape: opts.landscape,
generateDocumentOutline: true,
generateTaggedPDF: true,
displayHeaderFooter: true,
headerTemplate: `<div></div>`,
footerTemplate: `