Fixed export

This commit is contained in:
neauoire
2019-11-03 13:52:11 -05:00
parent 03331be38d
commit 5c72c1b7ca
3 changed files with 8 additions and 4 deletions

View File

@@ -86,4 +86,8 @@ function Manager (dotgrid) {
const file = new Blob([text], { type: 'text/plain' })
callback(URL.createObjectURL(file), 'export.grid')
}
this.toString = () => {
return new XMLSerializer().serializeToString(this.el)
}
}