묻고답하기

CK에디터 사용중입니다.

<!-- css -->
<load target="css/default.css" />
<load target="../../../../common/xeicon/xeicon.min.css" />

<!-- JS -->
<!--%load_js_plugin("ckeditor")-->
<load target="../../tpl/js/editor_common.js" />
<load target="../../tpl/js/editor.app.js" />
<load target="js/xe_interface.js" />

{@ $css_content = null }
<!--@if($content_font || $content_font_size)-->
 <!--@if($content_style === 'ckeditor_light')-->{@ $css_content = '.xe_content.editable p { margin: 0;'. chr(125); }<!--@endif-->

 {@ $css_content .= ' .xe_content.editable { '}
 <block cond="$content_font">
 {@ $css_content .= 'font-family:' . $content_font . ';';}
 </block>

 <block cond="$content_font_size">
 {@ $css_content .= 'font-size:' . $content_font_size . ';';}
 </block>
 {@ $css_content .= chr(125);}
<!--@endif-->

<div id="ckeditor_instance_{$editor_sequence}" data-editor-sequence="{$editor_sequence}" data-editor-primary-key-name="{$editor_primary_key_name}" data-editor-content-key-name="{$editor_content_key_name}" style="min-height:{$editor_height}px;"></div>

<block cond="$allow_fileupload">
 <include target="file_upload.html" />
</block>

<script>
(function($){
 "use strict";
 // editor
 $(function(){
  <!--@if(!FileHandler::exists('common/js/plugins/ckeditor/ckeditor/config.js'))-->CKEDITOR.config.customConfig = '';<!--@endif-->
  var settings = {
   ckeconfig: {
    height: '{$editor_height}',
    skin: '{$colorset}',
    contentsCss: '{$content_style_path}/editor.css',
    xe_editor_sequence: {$editor_sequence},
    toolbarCanCollapse: true,
    language: "{str_replace('jp','ja',$lang_type)}"
   },
   loadXeComponent: true,
   enableToolbar: true,
   content_field: jQuery('[name={$editor_content_key_name}]')
  };

  <!--@if($enable_component)-->
   {@ $xe_component = array(); }
   <!--@foreach($component_list as $component_name => $component)-->
    {@ $xe_component[] = $component_name . ":'" . htmlentities($component->title, ENT_QUOTES, 'UTF-8') . "'"; }
   <!--@endforeach-->
   {@ $xe_component = implode(',', $xe_component); }

   settings.ckeconfig.xe_component_arrays = {{$xe_component}};
  <!--@endif-->

  <!--@if(!$enable_default_component)-->
   settings.enableToolbar = false;
   settings.ckeconfig.toolbarCanCollapse = false;
  <!--@endif-->

  <!--@if(!$enable_component)-->
   settings.loadXeComponent = false;
  <!--@endif-->

  <!--@if($module_type === 'comment'||Mobile::isMobileCheckByAgent())-->
   settings.ckeconfig.toolbarStartupExpanded = false;
  <!--@endif-->
  
  <!--@if(!$html_mode)-->
   settings.ckeconfig.removeButtons = 'Save,Preview,Print,Cut,Copy,Paste,Source';
  <!--@endif-->

  <!--@if($css_content)-->CKEDITOR.addCss('{$css_content}');<!--@end-->

  var ckeApp = $('#ckeditor_instance_{$editor_sequence}').XeCkEditor(settings);

 });
})(jQuery);
</script>

어디를 수정해야지 파일첨부기능만 남게될까요? 어떻게 해야하나 고민해보다 질문드립니다.

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
SGWA 아이폰에서 웹페이지가 열리지 안습니다. [1] 2017.11.28 by Ansi™
지현 XEDITION게시판 수정에 관해 질문드려요! [2] file 2017.11.28 by 지현
새로운아침 XpressEngine 데이터 추출 ver. 0.6 에러가 뜨네요 [2] 2017.11.28 by 배워서남준다
병아리 로그인창 크기변경?? [5] file 2017.11.27 by 병아리
임점숙 카페24에서 가상서버호스팅 이용중입니다 [2] 2017.11.26 by 임점숙
임점숙 가상서버호스팅에서 xe설치하는법  
Regenesis XE "사이트메뉴 편집"에서 메뉴 링크 이미지 등록이 되지 않습니다. [1] file 2017.11.25 by dubu
이경우 안녕하세요 달력 게시판질문입니다. file  
트리픽 xedition레이아웃 모바일 사용 안하는 법 없을까요? [4] 2017.11.25 by 우주학개론
너의계절 관리자 게시판 권한설정을 위한 관리자 로그인 [1] 2017.11.25 by 휘즈
한국재즈댄스협회bc112 안녕하세요. 질문입니다. [1] 2017.11.25 by sejin7940
이와이 글쓴이가 관리자일때 [2] 2017.11.24 by 이와이
시크릿_이루어진다 이미지 리사이즈시 원본이미지 용량 쭐일 순 없나요? [1] 2017.11.24 by HowtoXE
달콤한슬픔 업글타입 블로그.. 애드센스 본문에.... [1] 2017.11.24 by HowtoXE
lun**** 레이아웃 설치 에러문제 [1] 2017.11.24 by 우주학개론
흐이이 zero4... 질문해도될까요(아이프레임) [1] file 2017.11.24 by 우주학개론
심플인턴 타임라인 모듈 질문 [3] 2017.11.24 by 우주학개론
뛰띠르빵빠르 게시판의 리스트 화면에서 정렬기준(확장변수 복수의 order by) 추가 하는 방법이 있나요? [1] file 2017.11.24 by 뛰띠르빵빠르
달콤한슬픔 업글 타일 블로그 스크립트관련 이게 가능한가요? [2] 2017.11.24 by 달콤한슬픔
시크릿_이루어진다 파일 첨부로 이미지 첨부시.. [1] 2017.11.23 by sejin7940