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 Niels Lyngsø
parent 0f37cd3a45
commit 02a47695e7

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