묻고답하기

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 남기남
율하 재로보드 4.1 에서 쪽지 확인  
비루마999 홈페이지 admin화면에서 비밀번호를 인식하지 못해요.(To 쿵푸팬더) [1] 2011.10.27
Treasurej 스크립트를 헤더 말고 아래에서 불러오게 하는 방법이 있나요?  
놀가지 XpressEngine 게시판 패키지 1.5.0.7 에서 글쓰기가 안되네염 [1] file 2011.10.27 by rjsoo
선댄스키드 통합검색 사용시 페이지를 불러오려면  
호왕 기본 게시판 본문글쓰기, 본문 글보여주는 화면 조절 문의. [1] 2011.10.27 by 쿨럭이
코뿔소2020 브라우저 제목에 값을 입력해주세요? [11] 2011.10.27 by 순수의시절
궁금이@@? 셋팅에서 시작페이지 설정해주기... [1] file 2011.10.27 by 굿총
reco00 xe 로그인출력관련 질문드립니다.  
ex-team 같은 계정에 다른버전의 XE를 설치할 수 있을까요? [2] 2011.10.27 by 순수의시절
툴툴스 회원가입시 메일인증을 설정 해놓으면.. [1] 2011.10.27 by 쿨럭이
컴박살 스마트 레이아웃 0.9.5 를 적용하면 다음과 같은 메세지가 나오네요 ㅡ.ㅡ; [1] 2011.10.27 by 컴박살
그발아래 [긴급]Xe 1.5.0.7 설치후 관리자 로그인이 안되요??? [1] 2011.10.27 by 윤씨
자쿠아 XE 업데이트 FTP로 폴더 삭제후 설치 방법 [1] 2011.10.27 by 잘살아보셈
쿵푸팬더 파이어폭스에서만 표시가 안됩니다.;; 인클루트 html부분입니다.  
좋은친구.. files 폴더네 삭제해도 될까요? [1] file 2011.10.27 by 쿵푸팬더
나우2006 익스플로러에서 확장변수 file  
잘살아보셈 위젯생성창에서 웹페이지 오류가 납니다. 잘못된 인수입니다 라고..  
궁민가수 제로보드xe 첨부파일 다운로드가 안됩니다. [1] 2011.10.27 by CMD
김동하123 지금 이 게시판처럼 폰트를 바꿀려면? [1] file 2011.10.27 by 순수의시절