set default w/h on rte images

This commit is contained in:
Per Ploug Krogslund
2013-08-26 15:17:27 +02:00
parent f6fcc9d314
commit f40de60fc4

View File

@@ -31,6 +31,7 @@ angular.module("umbraco")
var imagePropVal = imageHelper.getImagePropertyVaue({imageModel: img, scope: $scope});
var data = {
style: 'width: 400px; height: 300px;',
src: (imagePropVal != null && imagePropVal != "") ? imagePropVal: "nothing.jpg",
id: '__mcenew'
};