diff --git a/src/electron/renderer/ElectronApp.vue b/src/electron/renderer/ElectronApp.vue index 1292de97..397ddb64 100644 --- a/src/electron/renderer/ElectronApp.vue +++ b/src/electron/renderer/ElectronApp.vue @@ -128,7 +128,7 @@ import shortid from 'shortid'; import { enrichSchemeWithDefaults } from '../../ui/scheme/Scheme'; import { Keys, simulateKeyPress } from '../../ui/events'; -import SchemioEditorApp from '../../ui/SchemioEditorApp.vue'; +import SchemioEditorApp from '../../ui/components/SchemioEditorApp.vue'; import Navigator from './Navigator.vue'; import History from '../../ui/history/History'; import FileTabPanel from './FileTabPanel.vue'; @@ -208,7 +208,7 @@ export default { window.electronAPI.$on('file:exportStatic:stopped', this.onStaticExporterStopped); window.electronAPI.$on('menu:contextMenuOptionSelected', this.onContextMenuOptionSelected); window.electronAPI.$on('file:openProject', this.onMenuFileOpenProject); - window.electronAPI.$on('file:exportAsPNG', this.onFileExportAsPNG); + window.electronAPI.$on('file:exportAsJSON', this.onFileExportAsJSON); window.electronAPI.$on('file:importDiagramFromText', this.onImportDiagramFromText); window.electronAPI.$on('project-selected', this.onProjectSelected); diff --git a/src/ui/components/editor/CreateItemMenu.vue b/src/ui/components/editor/CreateItemMenu.vue index 220a1876..01f4b73c 100644 --- a/src/ui/components/editor/CreateItemMenu.vue +++ b/src/ui/components/editor/CreateItemMenu.vue @@ -31,7 +31,7 @@ - +
- +
- + - +
Created by @@ -127,6 +127,7 @@
- + - +