diff --git a/phpgwapi/inc/class.egw_ckeditor_config.inc.php b/phpgwapi/inc/class.egw_ckeditor_config.inc.php index 811662c02f..323ee1a8e6 100644 --- a/phpgwapi/inc/class.egw_ckeditor_config.inc.php +++ b/phpgwapi/inc/class.egw_ckeditor_config.inc.php @@ -154,6 +154,8 @@ class egw_ckeditor_config $config['editingBlock'] = true; $config['disableNativeSpellChecker'] = true; + $config['removePlugins'] = 'elementspath'; + $config['toolbarStartupExpanded'] = $expanded_toolbar; $config['filebrowserBrowseUrl'] = self::get_filebrowserBrowseUrl($start_path); diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index b48ee5f2d8..6148051de9 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -595,8 +595,8 @@ class html $_content = self::purify($_content); // By default the editor start expanded - $expanded = isset($_options['toolbarStartupExpanded']) ? - $_options['toolbarStartupExpanded'] != 'false' : true; + $expanded = isset($_options['toolbar_expanded']) ? + $_options['toolbar_expanded'] == 'true' : true; //Get the height in pixels from the pixels parameter $pxheight = (strpos('px', $_height) === false) ?