Merge pull request #5318 from umbraco/v8/bugfix/5075-rte-update-model

update RTE model on changing code or media
This commit is contained in:
Claus
2019-04-30 10:31:35 +02:00
committed by GitHub

View File

@@ -453,6 +453,9 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
}
}
editor.dom.setAttrib(imgElm, 'id', null);
editor.fire('Change');
}, 500);
}
},
@@ -1257,6 +1260,7 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
view: 'views/propertyeditors/rte/codeeditor.html',
submit: function (model) {
args.editor.setContent(model.content);
args.editor.fire('Change');
editorService.close();
},
close: function () {