From 7eb78e14ab20574943bede123d55b1997871682c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 25 Sep 2013 11:56:04 -0600 Subject: [PATCH] Changing the toolbar config can't be done this way --- framework/Editor/lib/Horde/Editor/Ckeditor.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/Editor/lib/Horde/Editor/Ckeditor.php b/framework/Editor/lib/Horde/Editor/Ckeditor.php index de767e99c2d..1129e664e89 100644 --- a/framework/Editor/lib/Horde/Editor/Ckeditor.php +++ b/framework/Editor/lib/Horde/Editor/Ckeditor.php @@ -63,8 +63,7 @@ public function initialize(array $params = array()) if (isset($params['id'])) { $this->_js['script'] = array( - 'CKEDITOR.replace("' . $params['id'] . '",' . $params['config'] . ')', - 'CKEDITOR.config.toolbar_Full.push(["Code"])' + 'CKEDITOR.replace("' . $params['id'] . '",' . $params['config'] . ')' ); } }