https://xetown.com/rxe_tip/38329 <--툴바 심플하게 설정하기

 

위에글을 보면서 

config.js 파일을 만들고 설정값을 넣으면

 

config.simple.js 파일이 실행된거처럼

 

언어가 바뀌고 config.js의 값은 적용되지 않습니다.

 

툴바를 사용하지 않을예정이라 감추거나 제거를 하고싶은데 어떻게 해야할까요

 

ps 에디터 하단부분의 body p 값을 나타내는부분도 숨기고 싶습니다.

  • profile
    이기회에 라이믹스로 전향하세요. 라이믹스에는 해당 기능이 코어에 포함되어 있습니다.
    번거롭게 수정안하고 관리자 설정에서 설정이 가능해요.
  • profile profile
    라이믹스로 첨부터 만들껄 후회중입니다 ㅜ
  • profile profile
    XE 사용하셔도 넘어올 수 있으니 고려해보세요~
  • profile
    결국 수동으로 다버튼을 지웠네요 혹시 다음분들도 쓰실까해서 해결한거 올려봅니다.
    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-->