mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°5298 - Upgrade CKEditor to version 5
- remove fired event UPDATE in plugin update-input-on-change effect: alert dialog on portal when adding image known impact: validation on portal not triggered on textarea modification
This commit is contained in:
@@ -21,8 +21,8 @@ export default class UpdateInputOnChange extends Plugin {
|
||||
// only when input and textarea are different
|
||||
if(oInputElement.value !== oEditor.getData()) {
|
||||
oInputElement.value = oEditor.getData();
|
||||
const oEvent = new Event('change');
|
||||
oInputElement.dispatchEvent(oEvent);
|
||||
// const oEvent = new Event('change');
|
||||
// oInputElement.dispatchEvent(oEvent);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user