N°5298 -When opening CKEditor4 data with CKEditor5, if no change has been made return initial data instead of transformed data

This commit is contained in:
Stephen Abello
2024-04-18 14:45:40 +02:00
parent c56aeb08f5
commit 62f5f2c942
9 changed files with 100 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ class UIHTMLEditorWidget
if ($sHeightSpec != '') {
$aConfig['height'] = $sHeightSpec;
}
// TODO 3.2.0 Add the configuration for the editor
$aConfig['detectChanges'] = ['initialValue' => $sValue];
$sConfigJS = json_encode($aConfig);
WebResourcesHelper::EnableCKEditorToWebPage($oPage);