https://xetown.com/rxe_tip/38329 <--툴바 심플하게 설정하기
위에글을 보면서
config.js 파일을 만들고 설정값을 넣으면
config.simple.js 파일이 실행된거처럼
언어가 바뀌고 config.js의 값은 적용되지 않습니다.
툴바를 사용하지 않을예정이라 감추거나 제거를 하고싶은데 어떻게 해야할까요
ps 에디터 하단부분의 body p 값을 나타내는부분도 숨기고 싶습니다.
mospia
Lv. 4
댓글 4
번거롭게 수정안하고 관리자 설정에서 설정이 가능해요.
https://xetown.com/qna/773148 <-- 처럼 추가한내용입니다.
modules/editor/skins/ckeditor/editor.himl 에서
<!--@if($css_content)-->CKEDITOR.addCss('{$css_content}');<!--@end--> 하단부분에
<!--@if($logged_info->is_admin=='Y')-->
settings.ckeconfig.removeButtons = 'Save,Preview';
settings.ckeconfig.toolbarStartupExpanded = false;
<!--@else-->
settings.ckeconfig.removeButtons = 'Save,Preview,Print,Source,Undo,Redo,Cut,Copy,Paste,Link,Unlink,Anchor,Bold,Italic,Font,Image,Table,FontSize,BGColor,TextColor,Superscript,Subscript,Underline,RemoveFormat,Strike,HorizontalRule,JustifyLeft,JustifyCenter,JustifyRight,JustifyBlock,Blockquote,NumberedList,BulletedList,CreateDiv,Indent,Outdent,Maximize,ShowBlocks,Find,Replace,SelectAll,Styles,Format,/';
<!--@endif-->