dispatch change event when embedded media has been added (#17008)
This commit is contained in:
@@ -611,6 +611,11 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
|
||||
} else {
|
||||
editor.selection.setNode(wrapper);
|
||||
}
|
||||
|
||||
|
||||
angularHelper.safeApply($rootScope, function () {
|
||||
editor.dispatch("Change");
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user