Followup: make sure that defualt value is applied in RTE

This commit is contained in:
arknu
2014-07-27 12:46:52 +02:00
parent 45b173c0db
commit 49c26f4a5e

View File

@@ -30,6 +30,9 @@ angular.module("umbraco")
var stylesheets = [];
var styleFormats = [];
var await = [];
if (!editorConfig.maxImageSize) {
editorConfig.maxImageSize = tinyMceService.defaultPrevalues().maxImageSize;
}
//queue file loading
if (typeof tinymce === "undefined") { // Don't reload tinymce if already loaded