N°5298 - Upgrade CKEditor to version 5

- update ckeditor plugin update-input-on-change by removing the event fired
This commit is contained in:
Benjamin Dalsass
2024-05-28 08:16:21 +02:00
parent 11502d2e92
commit 7769e5e116
71 changed files with 70 additions and 142 deletions

View File

@@ -18,8 +18,6 @@ export default class UpdateInputOnChange extends Plugin {
// update input when data change
oEditor.model.document.on('change:data', (event) => {
oInputElement.value = oEditor.getData();
const oEvent = new Event('change');
oInputElement.dispatchEvent(oEvent);
});
}