1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-24 23:26:50 +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

@ -154,7 +154,7 @@ function NoteEditor(props: NoteEditorProps) {
const allAssets = useCallback(async (markupLanguage: number): Promise<any[]> => {
const theme = themeStyle(props.themeId);
const markupToHtml = markupLanguageUtils.newMarkupToHtml({
const markupToHtml = markupLanguageUtils.newMarkupToHtml({}, {
resourceBaseUrl: `file://${Setting.value('resourceDir')}/`,
});