mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Fixed HTML export
This commit is contained in:
parent
840cdf5512
commit
eabbbba0c7
@ -385,13 +385,15 @@ class Application extends BaseApplication {
|
||||
for (let i = 0; i < ioModules.length; i++) {
|
||||
const module = ioModules[i];
|
||||
if (module.type === 'exporter') {
|
||||
exportItems.push({
|
||||
label: module.fullLabel(),
|
||||
screens: ['Main'],
|
||||
click: async () => {
|
||||
await InteropServiceHelper.export(this.dispatch.bind(this), module);
|
||||
},
|
||||
});
|
||||
if (module.canDoMultiExport !== false) {
|
||||
exportItems.push({
|
||||
label: module.fullLabel(),
|
||||
screens: ['Main'],
|
||||
click: async () => {
|
||||
await InteropServiceHelper.export(this.dispatch.bind(this), module);
|
||||
},
|
||||
});
|
||||
}
|
||||
} else {
|
||||
for (let j = 0; j < module.sources.length; j++) {
|
||||
const moduleSource = module.sources[j];
|
||||
|
@ -19,6 +19,8 @@ class InteropService {
|
||||
modules() {
|
||||
if (this.modules_) return this.modules_;
|
||||
|
||||
// - canDoMultiExport: Tells whether the format can package multiple notes into one file. Default: true.
|
||||
|
||||
let importModules = [
|
||||
{
|
||||
format: 'jex',
|
||||
|
Loading…
Reference in New Issue
Block a user