1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Desktop: Use plugins whenever printing or exporting notes

Ref: https://discourse.joplinapp.org/t/external-css-per-note-is-being-ignored/13016/6
This commit is contained in:
Laurent Cozic
2020-12-19 17:42:18 +00:00
parent b8493baa5e
commit d1a7d31335
14 changed files with 29 additions and 14 deletions

View File

@@ -38,7 +38,7 @@ export default function useSource(noteBody: string, noteMarkupLanguage: number,
}, [themeId, paddingBottom]);
const markupToHtml = useMemo(() => {
return markupLanguageUtils.newMarkupToHtml();
return markupLanguageUtils.newMarkupToHtml({});
}, [isFirstRender]);
// To address https://github.com/laurent22/joplin/issues/433