diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/Basic.php b/src/ChamiloLMS/Component/Editor/Toolbar/Basic.php index 34568e4c66..65711983ac 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/Basic.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/Basic.php @@ -74,7 +74,6 @@ class Basic $config['extraPlugins'] = 'oembed,video'; - if (isset($this->config)) { $this->config = array_merge($config, $this->config); } else { diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/Documents.php b/src/ChamiloLMS/Component/Editor/Toolbar/Documents.php index e47e9af22a..587d93149a 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/Documents.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/Documents.php @@ -25,7 +25,7 @@ class Documents extends Basic array('name' => 'mode') ); - $config['fullPage'] = 'true'; + $config['fullPage'] = true; //$config['height'] = '200'; return $config; diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/IntroductionTool.php b/src/ChamiloLMS/Component/Editor/Toolbar/IntroductionTool.php index a1ffdcb910..24f126a517 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/IntroductionTool.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/IntroductionTool.php @@ -25,7 +25,7 @@ class IntroductionTool extends Basic array('name' => 'mode') ); - $config['fullPage'] = 'true'; + $config['fullPage'] = true; //$config['height'] = '200'; return $config; diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/LearningPathDocuments.php b/src/ChamiloLMS/Component/Editor/Toolbar/LearningPathDocuments.php index 7ae1694256..b02347f7ab 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/LearningPathDocuments.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/LearningPathDocuments.php @@ -25,7 +25,7 @@ class LearningPathDocuments extends Basic array('name' => 'others') ); - $config['fullPage'] = 'true'; + $config['fullPage'] = true; return $config; } diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/Message.php b/src/ChamiloLMS/Component/Editor/Toolbar/Message.php index 91b5a026d7..699cb85995 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/Message.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/Message.php @@ -24,7 +24,7 @@ class Message extends Basic array('name' => 'others') ); - $config['fullPage'] = 'true'; + $config['fullPage'] = true; //$config['height'] = '200'; return $config; diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/TestFreeAnswer.php b/src/ChamiloLMS/Component/Editor/Toolbar/TestFreeAnswer.php index 82b340c3a5..38cfa06837 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/TestFreeAnswer.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/TestFreeAnswer.php @@ -21,10 +21,11 @@ class TestFreeAnswer extends Basic array('name' => 'styles'), array('name' => 'colors'), array('name' => 'tools'), - array('name' => 'others') + array('name' => 'others'), + array('name' => 'mode') // source ); - $config['fullPage'] = 'true'; + $config['fullPage'] = false; //$config['height'] = '200'; return $config; diff --git a/src/ChamiloLMS/Component/Editor/Toolbar/UniqueAnswerImage.php b/src/ChamiloLMS/Component/Editor/Toolbar/UniqueAnswerImage.php index 74813a19e3..2fff1b606e 100644 --- a/src/ChamiloLMS/Component/Editor/Toolbar/UniqueAnswerImage.php +++ b/src/ChamiloLMS/Component/Editor/Toolbar/UniqueAnswerImage.php @@ -25,7 +25,7 @@ class UniqueAnswerImage extends Basic array('name' => 'mode') ); - $config['fullPage'] = 'true'; + $config['fullPage'] = true; //$config['height'] = '200'; return $config;