parent
3031de6c4a
commit
550e3dc7c0
@ -0,0 +1,44 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar; |
||||
|
||||
/** |
||||
* Toolbar used to allow titles to have an HTML format. |
||||
* |
||||
* @package Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar |
||||
*/ |
||||
class TitleAsHtml extends Basic |
||||
{ |
||||
/** |
||||
* @return mixed |
||||
*/ |
||||
public function getConfig() |
||||
{ |
||||
$config['toolbar'] = [ |
||||
[ |
||||
'name' => 'clipboard', |
||||
'groups' => ['clipboard', 'undo'], |
||||
'items' => ['Cut', 'Copy', 'Paste', '-', 'Undo', 'Redo'], |
||||
], |
||||
[ |
||||
'name' => 'basicstyles', |
||||
'groups' => ['basicstyles', 'cleanup'], |
||||
'items' => ['Bold', 'Italic', 'Underline', 'Strike', 'TextColor', 'BGColor'], |
||||
], |
||||
// [ |
||||
// 'name' => 'paragraph', |
||||
// 'groups' => ['list', 'indent', 'blocks', 'align', 'bidi'], |
||||
// 'items' => ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent'], |
||||
// ], |
||||
[ |
||||
'name' => 'links', |
||||
'items' => ['Link', 'Unlink', 'Source'], |
||||
], |
||||
]; |
||||
|
||||
$config['height'] = '100'; |
||||
|
||||
return $config; |
||||
} |
||||
} |
||||
Loading…
Reference in new issue