@@ -39,9 +39,8 @@ import WorkspacesMenu from './menus/WorkspacesMenu';
import SyncMenu from './menus/SyncMenu';
import PublishMenu from './menus/PublishMenu';
import HistoryMenu from './menus/HistoryMenu';
-import ExportMenu from './menus/ExportMenu';
-import ImportMenu from './menus/ImportMenu';
-import MoreMenu from './menus/MoreMenu';
+import ImportExportMenu from './menus/ImportExportMenu';
+import WorkspaceBackupMenu from './menus/WorkspaceBackupMenu';
import markdownSample from '../data/markdownSample.md';
import markdownConversionSvc from '../services/markdownConversionSvc';
import store from '../store';
@@ -54,8 +53,8 @@ const panelNames = {
sync: 'Synchronize',
publish: 'Publish',
history: 'File history',
- export: 'Export to disk',
- import: 'Import from disk',
+ importExport: 'Import/export',
+ workspaceBackup: 'Workspace backup',
};
export default {
@@ -66,9 +65,8 @@ export default {
SyncMenu,
PublishMenu,
HistoryMenu,
- ExportMenu,
- ImportMenu,
- MoreMenu,
+ ImportExportMenu,
+ WorkspaceBackupMenu,
},
data: () => ({
markdownSample: markdownConversionSvc.highlight(markdownSample),
diff --git a/src/components/menus/ExportMenu.vue b/src/components/menus/ExportMenu.vue
deleted file mode 100644
index 3e17fc2b..00000000
--- a/src/components/menus/ExportMenu.vue
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
Export as Markdown
- Save plain text file.
-
-
-
-
Export as HTML
- Generate an HTML page from a template.
-
-
-
-
sponsor
Export as PDF
- Produce a PDF from an HTML template.
-
-
-
-
sponsor
Export with Pandoc
- Convert to PDF, Word, EPUB...
-
-
-
-
-
diff --git a/src/components/menus/ImportMenu.vue b/src/components/menus/ImportExportMenu.vue
similarity index 61%
rename from src/components/menus/ImportMenu.vue
rename to src/components/menus/ImportExportMenu.vue
index b46d892f..334e087c 100644
--- a/src/components/menus/ImportMenu.vue
+++ b/src/components/menus/ImportExportMenu.vue
@@ -20,16 +20,39 @@
Convert an HTML file to Markdown.
+
+
+
+
Export as Markdown
+ Save plain text file.
+
+
+
+
Export as HTML
+ Generate an HTML page from a template.
+
+
+
+
sponsor
Export as PDF
+ Produce a PDF from an HTML template.
+
+
+
+
sponsor
Export with Pandoc
+ Convert to PDF, Word, EPUB...
+
diff --git a/src/components/menus/MainMenu.vue b/src/components/menus/MainMenu.vue
index 998c72e5..dcfb0950 100644
--- a/src/components/menus/MainMenu.vue
+++ b/src/components/menus/MainMenu.vue
@@ -75,13 +75,9 @@
Markdown cheat sheet
-
+
- Import from disk
-
-
-
- Export to disk
+ Import/export
@@ -104,19 +100,10 @@
Manage access to your external accounts.
-
+
- Export workspace backup
+ Workspace backup
-
-