N°8340 - CKEditor is slow with large texts

This commit is contained in:
bdalsass
2025-07-10 10:20:23 +02:00
parent 6826ab509d
commit 497fc4978a
4 changed files with 4 additions and 2 deletions

View File

@@ -255,6 +255,7 @@ JS
.then((oCKEditor) => {
oCKEditor.model.document.on("change:data", () => {
const oFieldElem = $("#{$this->oField->GetGlobalId()}");
oFieldElem.val(oCKEditor.getData());
oFieldElem.closest(".field_set").trigger("field_change", {
id: oFieldElem.attr("id"),
name: oFieldElem.closest(".form_field").attr("data-field-id"),