From d3b39048d8a5edc637097155d32b64a9f001fce9 Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass <95754414+bdalsass@users.noreply.github.com> Date: Fri, 7 Jun 2024 08:16:29 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05298=20-=20Upgrade=20CKEditor=20to=20ver?= =?UTF-8?q?sion=205=20-=20remove=20fired=20event=20UPDATE=20in=20plugin=20?= =?UTF-8?q?update-input-on-change=20effect:=20alert=20dialog=20on=20portal?= =?UTF-8?q?=20when=20adding=20image=20known=20impact:=20validation=20on=20?= =?UTF-8?q?portal=20not=20triggered=20on=20textarea=20modification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../update-input-on-change/update-input-on-change.plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ckeditor/src/plugins/update-input-on-change/update-input-on-change.plugin.ts b/js/ckeditor/src/plugins/update-input-on-change/update-input-on-change.plugin.ts index bb0025b8b..6670c60f4 100644 --- a/js/ckeditor/src/plugins/update-input-on-change/update-input-on-change.plugin.ts +++ b/js/ckeditor/src/plugins/update-input-on-change/update-input-on-change.plugin.ts @@ -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); } });