mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 17:25:52 +01:00
feat(pdf): support landscape mode at note level
This commit is contained in:
@@ -299,7 +299,8 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
|
||||
|
||||
const { ipcRenderer } = utils.dynamicRequire("electron");
|
||||
ipcRenderer.send("export-as-pdf", {
|
||||
title: this.note.title
|
||||
title: this.note.title,
|
||||
landscape: this.note.hasAttribute("label", "printLandscape")
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user