You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Mobile: Fixed mobile build
This commit is contained in:
@ -7,6 +7,7 @@ import Note from '../../models/Note';
|
||||
import Setting from '../../models/Setting';
|
||||
import { MarkupToHtml } from '@joplin/renderer';
|
||||
import { ResourceEntity } from '../database/types';
|
||||
import { contentScriptsToRendererRules } from '../plugins/utils/loadContentScripts';
|
||||
const { basename, friendlySafeFilename, rtrimSlashes } = require('../../path-utils');
|
||||
const { themeStyle } = require('../../theme');
|
||||
const { dirname } = require('../../path-utils');
|
||||
@ -38,7 +39,9 @@ export default class InteropService_Exporter_Html extends InteropService_Exporte
|
||||
this.resourceDir_ = this.destDir_ ? `${this.destDir_}/_resources` : null;
|
||||
|
||||
await shim.fsDriver().mkdir(this.destDir_);
|
||||
this.markupToHtml_ = markupLanguageUtils.newMarkupToHtml(options.plugins);
|
||||
this.markupToHtml_ = markupLanguageUtils.newMarkupToHtml({
|
||||
extraRendererRules: contentScriptsToRendererRules(options.plugins),
|
||||
});
|
||||
this.style_ = themeStyle(Setting.THEME_LIGHT);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user