mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 11:48:21 +01:00
fix grapheditor image export buh
This commit is contained in:
parent
416ab0d93a
commit
e3862fb0f5
@ -4,6 +4,9 @@ Generate graph from text using mermaid
|
||||
|
||||
## Change logs
|
||||
|
||||
### v0.0.6-a
|
||||
* Fix unable to export image from tainted canvas
|
||||
|
||||
### v0.0.5-a
|
||||
* GraphEditor is now compatible with new AntOS API
|
||||
|
||||
|
@ -4,6 +4,9 @@ Generate graph from text using mermaid
|
||||
|
||||
## Change logs
|
||||
|
||||
### v0.0.6-a
|
||||
* Fix unable to export image from tainted canvas
|
||||
|
||||
### v0.0.5-a
|
||||
* GraphEditor is now compatible with new AntOS API
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.5-a",
|
||||
"version":"0.0.6-a",
|
||||
"category":"Office",
|
||||
"iconclass": "fa fa-sitemap",
|
||||
"mimes":["text/.*graphviz"]
|
||||
|
Binary file not shown.
@ -228,6 +228,7 @@ class GraphEditor extends this.OS.application.BaseApplication
|
||||
|
||||
svgToCanvas: (f) ->
|
||||
img = new Image()
|
||||
img.crossOrigin="anonymous"
|
||||
svgStr = @svgtext()
|
||||
DOMURL = window.URL || window.webkitURL || window
|
||||
svgBlob = new Blob [svgStr], { type: 'image/svg+xml;charset=utf-8' }
|
||||
|
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.5-a",
|
||||
"version":"0.0.6-a",
|
||||
"category":"Office",
|
||||
"iconclass": "fa fa-sitemap",
|
||||
"mimes":["text/.*graphviz"]
|
||||
|
@ -77,7 +77,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/GraphEditor/README.md",
|
||||
"category": "Office",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.0.5-a",
|
||||
"version": "0.0.6-a",
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/GraphEditor/build/release/GraphEditor.zip"
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user