Update src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -277,7 +277,6 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
|
||||
if (editor.settings.maxImageSize && editor.settings.maxImageSize !== 0) {
|
||||
var newSize = imageHelper.scaleToMaxSize(editor.settings.maxImageSize, size.w, size.h);
|
||||
|
||||
console.log('new size', newSize);
|
||||
|
||||
editor.dom.setAttrib(imageDomElement, 'width', newSize.width);
|
||||
editor.dom.setAttrib(imageDomElement, 'height', newSize.height);
|
||||
|
||||
Reference in New Issue
Block a user