mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7552 - Polishing CKeditor (Maximize/full screen mode) - remove maximize hybrid mode
This commit is contained in:
@@ -45,9 +45,7 @@ class CKEditorHelper
|
||||
// configuration
|
||||
$aConfiguration = array(
|
||||
'language' => $sLanguage,
|
||||
'maximize' => [
|
||||
'fullscreen' => 'javascript'
|
||||
],
|
||||
'maximize' => [],
|
||||
'detectChanges' => [
|
||||
'initialValue' => $sInitialValue
|
||||
],
|
||||
|
||||
@@ -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())));
|
||||
|
||||
Reference in New Issue
Block a user