Fixes introduction tool name

1.10.x
Julio Montoya 10 years ago
parent 27fb7ecc70
commit fb528d4e66
  1. 2
      main/inc/introductionSection.inc.php
  2. 10
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/IntroductionTool.php

@ -52,7 +52,7 @@ if (!empty($courseId)) {
$renderer =& $form->defaultRenderer();
$renderer->setElementTemplate('<div style="width: 80%; margin: 0px auto; padding-bottom: 10px; ">{element}</div>');
$toolbar_set = 'Introduction';
$toolbar_set = 'IntroductionTool';
$width = '100%';
$height = '300';

@ -20,8 +20,14 @@ class IntroductionTool extends Basic
//array('name' => 'editing', 'groups' =>array('clipboard', 'undo', )),
//array('name' => 'forms', 'groups' =>array('clipboard', 'undo', )),
'/',
array('name' => 'basicstyles', 'groups' =>array('basicstyles', 'cleanup', )),
array('name' => 'paragraph', 'groups' =>array('list', 'indent', 'blocks', 'align' )),
array(
'name' => 'basicstyles',
'groups' => array('basicstyles', 'cleanup',)
),
array(
'name' => 'paragraph',
'groups' => array('list', 'indent', 'blocks', 'align')
),
array('name' => 'links'),
array('name' => 'insert'),
'/',

Loading…
Cancel
Save