From e5d38fde577fab32d624679950edb08aa3dc95a9 Mon Sep 17 00:00:00 2001 From: Imanol Losada Date: Fri, 13 Mar 2015 09:06:51 -0500 Subject: [PATCH] Remove wikilink button from Basic (default) toolbar and add it to WikiStudent toolbar - refs #7571 --- .../CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php | 3 +-- .../Component/Editor/CkEditor/Toolbar/WikiStudent.php | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php index c7ae0a890f..f3cb8dae66 100644 --- a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php +++ b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php @@ -26,8 +26,7 @@ class Basic extends Toolbar 'colorbutton', 'flash', 'link', - 'table', - 'wikilink' + 'table' ); /** diff --git a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/WikiStudent.php b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/WikiStudent.php index 3ad45c3a17..38a10aea9b 100644 --- a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/WikiStudent.php +++ b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/WikiStudent.php @@ -9,5 +9,7 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar; */ class WikiStudent extends Basic { - + public $plugins = array( + 'wikilink' + ); }