diff --git a/packages/mindplot/src/components/export/FreemindExporter.ts b/packages/mindplot/src/components/export/FreemindExporter.ts index 3c7e6ba0..be087b23 100644 --- a/packages/mindplot/src/components/export/FreemindExporter.ts +++ b/packages/mindplot/src/components/export/FreemindExporter.ts @@ -36,14 +36,6 @@ class FreemindExporter extends Exporter { this.mindmap = mindmap; } - exportAndEncode(): Promise { - throw new Error('Method not implemented.'); - } - - getContentType(): string { - throw new Error('Method not implemented.'); - } - static { this.wisweToFreeFontSize.set(6, 10); this.wisweToFreeFontSize.set(8, 12); @@ -55,7 +47,7 @@ class FreemindExporter extends Exporter { const parser = new DOMParser(); const xmlDoc = parser.parseFromString(xmlStr, mimeType); - // FIXME: Fix error "unclosed tag: p" when exporting bug2 and enc + // FIXME: Fix error "unclosed tag: p" when exporting bug3 and enc // Is there any parsing error ?. /* if (xmlDoc.getElementsByTagName('parsererror').length > 0) { diff --git a/packages/mindplot/src/components/export/freemind/freemind_0.9.0.xsd b/packages/mindplot/src/components/export/freemind/freemind_0.9.0.xsd deleted file mode 100755 index c42064e3..00000000 --- a/packages/mindplot/src/components/export/freemind/freemind_0.9.0.xsd +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/packages/mindplot/src/components/export/freemind/generatedClasses.ts b/packages/mindplot/src/components/export/freemind/generatedClasses.ts deleted file mode 100644 index 0c9aaa04..00000000 --- a/packages/mindplot/src/components/export/freemind/generatedClasses.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { generateTemplateClassesFromXSD } from 'xsd2ts'; - -generateTemplateClassesFromXSD('./freemind_0.9.0'); diff --git a/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx b/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx index 93695c98..21e4440e 100644 --- a/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx +++ b/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx @@ -109,6 +109,7 @@ const ExportDialog = ({ break; } case 'wxml': + case 'mm': case 'md': case 'txt': { exporter = TextExporterFactory.create(formatType, mindmap); @@ -264,9 +265,9 @@ const ExportDialog = ({ WiseMapping (WXML) - {/* + Freemind 1.0.1 (MM) - */} + {/* MindManager (MMAP) */}