diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index e27dd7276..dd26548ce 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -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]; diff --git a/ReactNativeClient/lib/services/InteropService.js b/ReactNativeClient/lib/services/InteropService.js index d528959db..f53e09a6d 100644 --- a/ReactNativeClient/lib/services/InteropService.js +++ b/ReactNativeClient/lib/services/InteropService.js @@ -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',