Skip to content

Commit

Permalink
Add Oembed button BT#17381
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Jun 12, 2020
1 parent adbe2bb commit 6551899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -1,12 +1,11 @@
<?php

/* For licensing terms, see /license.txt */

namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;

/**
* Documents toolbar configuration.
*
* @package Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar
*/
class Documents extends Basic
{
Expand Down Expand Up @@ -156,6 +155,7 @@ protected function getMinimizedToolbar()
'Link',
'Image',
'Video',
'Oembed',
'Flash',
'Youtube',
'VimeoEmbed',
Expand Down
Expand Up @@ -34,7 +34,7 @@ public function getConfig()
];

$config['extraPlugins'] = $this->getPluginsToString();
if (api_get_setting('more_buttons_maximized_mode') != 'true') {
if (api_get_setting('more_buttons_maximized_mode') !== 'true') {
$config['toolbar'] = $this->getNormalToolbar();
} else {
$config['toolbar_minToolbar'] = $this->getMinimizedToolbar();
Expand Down

0 comments on commit 6551899

Please sign in to comment.