mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
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:
@@ -68,6 +68,9 @@ class RichText extends UIBlock
|
||||
public function SetValue(?string $sValue)
|
||||
{
|
||||
$this->sValue = $sValue;
|
||||
if(is_array($this->aConfig)) {
|
||||
$this->aConfig['detectChanges'] = ['initialValue' => $sValue];
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user