dispatch change event when embedded media has been added (#17008)

This commit is contained in:
Niels Lyngsø
2024-09-09 12:49:07 +02:00
committed by GitHub
parent ef3bf496e9
commit b16dfa9ca1

View File

@@ -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");
});
},