Browse Source

Change from toolbar to basic ckeditor BT#11338

Alex Aragón 6 years ago
parent
commit
79fb32c24d

+ 1 - 1
main/attendance/attendance_add.php

@@ -36,7 +36,7 @@ $form->addHtmlEditor(
     get_lang('Description'),
     false,
     false,
-    ['ToolbarSet' => 'TrainingDescription', 'Width' => '100%', 'Height' => '150']
+    ['ToolbarSet' => 'Basic', 'Width' => '100%', 'Height' => '150']
 );
 
 // Advanced Parameters

+ 1 - 1
main/attendance/attendance_edit.php

@@ -40,7 +40,7 @@ $form->addHtmlEditor(
     false,
     false,
     [
-        'ToolbarSet' => 'TrainingDescription',
+        'ToolbarSet' => 'Basic',
         'Width' => '100%',
         'Height' => '200',
     ]

+ 1 - 1
main/course_description/add.php

@@ -80,7 +80,7 @@ $form->addHtmlEditor(
     true,
     false,
     [
-        'ToolbarSet' => 'TrainingDescription',
+        'ToolbarSet' => 'Basic',
         'Width' => '100%',
         'Height' => '200',
     ]

+ 1 - 1
main/course_description/edit.php

@@ -98,7 +98,7 @@ $form->addHtmlEditor(
     true,
     false,
     [
-        'ToolbarSet' => 'TrainingDescription',
+        'ToolbarSet' => 'Basic',
         'Width' => '100%',
         'Height' => '200',
     ]

+ 1 - 1
main/course_progress/thematic.php

@@ -248,7 +248,7 @@ if ($action == 'thematic_list') {
         get_lang('Content'),
         false,
         false,
-        ['ToolbarSet' => 'TrainingDescription', 'Height' => '150']
+        ['ToolbarSet' => 'Basic', 'Height' => '150']
     );
     $form->addButtonSave(get_lang('Save'));
 

+ 1 - 1
main/course_progress/thematic_advance.php

@@ -126,7 +126,7 @@ if ($action === 'thematic_advance_add' || $action === 'thematic_advance_edit') {
         false,
         [
             'ToolbarStartExpanded' => 'false',
-            'ToolbarSet' => 'TrainingDescription',
+            'ToolbarSet' => 'Basic',
             'Height' => '150',
         ]
     );

+ 2 - 2
main/course_progress/thematic_plan.php

@@ -69,7 +69,7 @@ if ($action === 'thematic_plan_list') {
             false,
             [
                 'ToolbarStartExpanded' => 'false',
-                'ToolbarSet' => 'TrainingDescription',
+                'ToolbarSet' => 'Basic',
                 'Height' => '150',
             ]
         );
@@ -138,7 +138,7 @@ if ($action === 'thematic_plan_list') {
         false,
         [
             'ToolbarStartExpanded' => 'false',
-            'ToolbarSet' => 'TrainingDescription',
+            'ToolbarSet' => 'Basic',
             'Width' => '80%',
             'Height' => '150',
         ]

+ 1 - 1
main/inc/lib/sessionmanager.lib.php

@@ -7738,7 +7738,7 @@ class SessionManager
             false,
             false,
             [
-                'ToolbarSet' => 'TrainingDescription',
+                'ToolbarSet' => 'Minimal',
             ]
         );