N°7552 - Polishing CKeditor (Maximize/full screen mode) - remove maximize hybrid mode

This commit is contained in:
jf-cbd
2024-07-11 15:09:27 +02:00
parent 0fb23c4e5b
commit a5ceddc40a
2 changed files with 2 additions and 6 deletions

View File

@@ -45,9 +45,7 @@ class CKEditorHelper
// configuration
$aConfiguration = array(
'language' => $sLanguage,
'maximize' => [
'fullscreen' => 'javascript'
],
'maximize' => [],
'detectChanges' => [
'initialValue' => $sInitialValue
],

View File

@@ -176,9 +176,7 @@ EOF
if ($bRichEditor) {
// Enable CKEditor
CKEditorHelper::ConfigureCKEditorElementForRenderingOutput($oOutput, $this->oField->GetGlobalId(), $this->oField->GetCurrentValue(), false, false, ['maximize' => [
'fullscreen' => 'native'
]]);
CKEditorHelper::ConfigureCKEditorElementForRenderingOutput($oOutput, $this->oField->GetGlobalId(), $this->oField->GetCurrentValue(), false, false, ['maximize' => []]);
if (($this->oField->GetObject() !== null) && ($this->oField->GetTransactionId() !== null)) {
$oOutput->AddJs(InlineImage::EnableCKEditorImageUpload($this->oField->GetObject(), utils::GetUploadTempId($this->oField->GetTransactionId())));