mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Merge remote-tracking branch 'origin/support/3.2' into develop
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';
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
||||||
export default class UpdateInputOnChange extends Plugin {
|
export default class UpdateInputOnChange extends Plugin {
|
||||||
static get pluginName(): string;
|
static get pluginName(): string;
|
||||||
|
private debounceTimeout;
|
||||||
init(): void;
|
init(): void;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -255,6 +255,7 @@ JS
|
|||||||
.then((oCKEditor) => {
|
.then((oCKEditor) => {
|
||||||
oCKEditor.model.document.on("change:data", () => {
|
oCKEditor.model.document.on("change:data", () => {
|
||||||
const oFieldElem = $("#{$this->oField->GetGlobalId()}");
|
const oFieldElem = $("#{$this->oField->GetGlobalId()}");
|
||||||
|
oFieldElem.val(oCKEditor.getData());
|
||||||
oFieldElem.closest(".field_set").trigger("field_change", {
|
oFieldElem.closest(".field_set").trigger("field_change", {
|
||||||
id: oFieldElem.attr("id"),
|
id: oFieldElem.attr("id"),
|
||||||
name: oFieldElem.closest(".form_field").attr("data-field-id"),
|
name: oFieldElem.closest(".form_field").attr("data-field-id"),
|
||||||
|
|||||||
Reference in New Issue
Block a user