Implement control of whether to hide the editor toolbar

This commit is contained in:
Kijin Sung 2017-06-27 18:04:26 +09:00
parent 0d257b6b67
commit 4adf223524
8 changed files with 71 additions and 7 deletions

View file

@ -134,9 +134,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
settings.loadXeComponent = false;
<!--@endif-->
<!--@if($module_type === 'comment' || Rhymix\Framework\UA::isMobile())-->
settings.ckeconfig.toolbarStartupExpanded = false;
<!--@endif-->
settings.ckeconfig.toolbarStartupExpanded = {$editor_toolbar_hide ? 'false' : 'true'};
<!--@if(!$html_mode)-->
settings.ckeconfig.removeButtons = 'Save,Preview,Print,Cut,Copy,Paste,Source';