Change padded image attribute to fullWidth

This commit is contained in:
Tautvidas Sipavičius
2016-02-08 17:38:27 +02:00
parent 2ae3d8ebdf
commit 8b001d820b
19 changed files with 81 additions and 75 deletions

View File

@ -225,6 +225,11 @@ define([
showPreview: function() {
var json = App.toJSON();
// Stringify to enable transmission of primitive non-string value types
if (!_.isUndefined(json.body)) {
json.body = JSON.stringify(json.body);
}
MailPoet.Ajax.post({
endpoint: 'newsletters',
action: 'render',