Browse Source

fix authot edit lp

Alex Aragón 6 years ago
parent
commit
8b3d27dc41

+ 3 - 0
app/Resources/public/css/scorm.css

@@ -462,6 +462,9 @@ See https://support.chamilo.org/issues/6976
 .sidebar-scorm{
     border-right: 1px solid #e6e6e6;
 }
+.scorm_item_normal.scorm_highlight a{
+    color: #FFFFFF;
+}
 /* END LP VIEW COLLAPSE */
 /* Small devices (tablets, 768px and up) */
 @media (min-width: 768px) {

+ 1 - 1
main/lp/lp_edit.php

@@ -100,7 +100,7 @@ $form->addElement(
     'lp_author',
     get_lang('Author'),
     ['size' => 80],
-    ['ToolbarSet' => 'LearningPathAuthor', 'Width' => '100%', 'Height' => '150px']
+    ['ToolbarSet' => 'LearningPathAuthor', 'Width' => '100%', 'Height' => '200px']
 );
 $form->applyFilter('lp_author', 'html_filter');
 

+ 3 - 5
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/LearningPathAuthor.php

@@ -24,7 +24,7 @@ class LearningPathAuthor extends Basic
             $config['toolbar_maxToolbar'] = $this->getMaximizedToolbar();
         }
 
-        $config['fullPage'] = true;
+        $config['fullPage'] = false;
 
         return $config;
     }
@@ -37,8 +37,7 @@ class LearningPathAuthor extends Basic
     protected function getMaximizedToolbar()
     {
         return [
-            ['PageBreak', 'ShowBlocks', 'Source'],
-            ['Toolbarswitch'],
+            ['PageBreak', 'ShowBlocks', 'Source']
         ];
     }
 
@@ -62,8 +61,7 @@ class LearningPathAuthor extends Basic
     protected function getMinimizedToolbar()
     {
         return [
-            ['Link', 'Unlink', 'Bold', 'Italic', 'TextColor', 'BGColor', 'Source'],
-            ['Toolbarswitch'],
+            ['Link', 'Unlink', 'Bold', 'Italic', 'TextColor', 'BGColor', 'Source']
         ];
     }
 }