mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°8340 - CKEditor is slow with large texts
This commit is contained in:
2
node_modules/ckeditor5-itop-build/build/ckeditor.js
generated
vendored
2
node_modules/ckeditor5-itop-build/build/ckeditor.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/ckeditor5-itop-build/build/ckeditor.js.map
generated
vendored
2
node_modules/ckeditor5-itop-build/build/ckeditor.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -1,5 +1,6 @@
|
||||
import { Plugin } from '@ckeditor/ckeditor5-core';
|
||||
export default class UpdateInputOnChange extends Plugin {
|
||||
static get pluginName(): string;
|
||||
private debounceTimeout;
|
||||
init(): void;
|
||||
}
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user