1. 파일 위치
..Rhymix/modules/editor/skins/ckeditor/editor.html
2. 댓글 부분 > 약 183라인
// Define the simple toolbar.
<!--@if($editor_toolbar === 'simple')-->
settings.ckeconfig.toolbar = [
{ name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
{ name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
{ name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
{ name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
{ name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
];
<!--@endif-->
3. 모바일이 아닌 경우만 툴바 하단으로 보내기
<!--@if(!Mobile::isMobileCheckByAgent())-->
// 모바일이 아닌 경우만 버튼을 아래로 내림
// 버튼이 아래로 내려가면 모바일에서 파일업로드가 되지 않음
settings.ckeconfig.toolbarLocation = 'bottom';
<!--@endif-->
4. 관리자와 일반사용가간 댓글 툴바 다르게 보이기
<!--@if($logged_info->is_admin == 'Y')-->
settings.ckeconfig.toolbar = [
... // 관리자일때];
<!--@endif-->
<!--@if($logged_info->is_admin)-->
settings.ckeconfig.toolbar = [... // 로그인 사용자 일 때
];
<!--@endif-->
<!--@if(!$logged_info->is_admin)-->settings.ckeconfig.toolbar = [
... // 로그인하지 않은 사용자 일 때
];
<!--@endif-->
@ 최종 설정 모양 @
// Define the simple toolbar.
<!--@if($editor_toolbar === 'simple')-->
settings.ckeconfig.toolbar = [
{ name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
{ name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
{ name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
{ name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
{ name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
];
<!--@if(!Mobile::isMobileCheckByAgent())-->
// 모바일이 아닌 경우만 버튼을 아래로 내림
// 버튼이 아래로 내려가면 모바일에서 파일업로드가 되지 않음
settings.ckeconfig.toolbarLocation = 'bottom';
<!--@endif-->
<!--@endif-->