woo-email-editor
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "woo-email-editor", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -14,5 +14,2 @@ "main": "./lib/index.js", | ||
"license": "ISC", | ||
"dependencies": { | ||
"html-to-image": "^1.10.8" | ||
}, | ||
"devDependencies": { | ||
@@ -33,3 +30,6 @@ "@babel/cli": "^7.17.6", | ||
"webpack-dev-server": "^4.8.1" | ||
}, | ||
"dependencies": { | ||
"html-to-image": "^1.10.8" | ||
} | ||
} |
@@ -50,4 +50,4 @@ import * as htmlToImage from 'html-to-image'; | ||
getImageBase(quality){ | ||
return htmlToImage.toJpeg(this.containerEle,{quality:quality || 0.6}); | ||
return htmlToImage.toBlob(this.containerEle,{quality:quality || 0.6}); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
73095