Switch template thumbnails to be generated in jpeg, not png
This commit is contained in:
@ -67,7 +67,7 @@ define([
|
|||||||
jQuery('#mailpoet_editor_content > .mailpoet_block').get(0)
|
jQuery('#mailpoet_editor_content > .mailpoet_block').get(0)
|
||||||
).then(function(thumbnail) {
|
).then(function(thumbnail) {
|
||||||
var data = _.extend(options || {}, {
|
var data = _.extend(options || {}, {
|
||||||
thumbnail: thumbnail.toDataURL(),
|
thumbnail: thumbnail.toDataURL('image/jpeg'),
|
||||||
body: App.getBody(),
|
body: App.getBody(),
|
||||||
});
|
});
|
||||||
var blob = new Blob(
|
var blob = new Blob(
|
||||||
|
Reference in New Issue
Block a user