mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
fix(export/zip): export options not considered
This commit is contained in:
@@ -43,8 +43,10 @@ async function exportToZip(taskContext: TaskContext<"export">, branch: BBranch,
|
|||||||
getNoteTargetUrl,
|
getNoteTargetUrl,
|
||||||
archive,
|
archive,
|
||||||
branch,
|
branch,
|
||||||
rewriteFn
|
rewriteFn,
|
||||||
|
zipExportOptions
|
||||||
};
|
};
|
||||||
|
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case "html":
|
case "html":
|
||||||
return new HtmlExportProvider(providerData);
|
return new HtmlExportProvider(providerData);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export interface ZipExportProviderData {
|
|||||||
branch: BBranch;
|
branch: BBranch;
|
||||||
getNoteTargetUrl: (targetNoteId: string, sourceMeta: NoteMeta) => string | null;
|
getNoteTargetUrl: (targetNoteId: string, sourceMeta: NoteMeta) => string | null;
|
||||||
archive: Archiver;
|
archive: Archiver;
|
||||||
zipExportOptions?: AdvancedExportOptions;
|
zipExportOptions: AdvancedExportOptions | undefined;
|
||||||
rewriteFn: RewriteLinksFn;
|
rewriteFn: RewriteLinksFn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user