mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 11:17:57 +01:00
Fix MD export
This commit is contained in:
parent
5e64af8f5e
commit
5efdefae58
@ -55,10 +55,7 @@ class MDExporter extends Exporter {
|
|||||||
}
|
}
|
||||||
result += '\n';
|
result += '\n';
|
||||||
|
|
||||||
// Encode as url response ...
|
return Promise.resolve(result);
|
||||||
const blob = new Blob([result], { type: 'text/markdown' });
|
|
||||||
const urlStr = URL.createObjectURL(blob);
|
|
||||||
return Promise.resolve(urlStr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private traverseBranch(prefix: string, branches: Array<INodeModel>) {
|
private traverseBranch(prefix: string, branches: Array<INodeModel>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user