질문/조언질답게시판

글쓰기에  들어가면 제목이라고 미리 글자가 뜨고

클릭을 하면  없어지는  "제목" 이라는 글자 다른글로 바꿀수  없나요

이를테면 " 좋아하는  색상을 쓰세요 "  등등  으로요

 

Cap 2020-10-17 09-36-46-353.png

 

도움을 청합니다  ^^~

 

 

  • ?

    modules/editor/skins/스킨명/editor.html

    에 있는 파일을 (소스코드)수정해보세요

  • ? profile
    답변 고맙습니다
    그런데 소스 어디를 수정해야 하까요 ??

    <!-- 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 }
    <[email protected]($content_font || $content_font_size)-->
    <[email protected]($content_style === 'ckeditor_light')-->{@ $css_content = '.xe_content.editable p { margin: 0;'. chr(125); }<[email protected]>

    {@ $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);}
    <[email protected]>

    <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>

    {@
    $editorContentCssFilemtime = filemtime(_XE_PATH_ . $content_style_path . '/editor.css');
    }

    <script>
    (function($){
    "use strict";
    // editor
    $(function(){
    <[email protected](!FileHandler::exists('common/js/plugins/ckeditor/ckeditor/config.js'))-->CKEDITOR.config.customConfig = '';<[email protected]>
    var settings = {
    ckeconfig: {
    height: '{$editor_height}',
    skin: '{$colorset}',
    contentsCss: '{$content_style_path}/editor.css?{$editorContentCssFilemtime}',
    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}]')
    };

    CKEDITOR.dtd.$removeEmpty.ins = 0;
    CKEDITOR.dtd.$removeEmpty.i = 0;

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

    settings.ckeconfig.xe_component_arrays = {{$xe_component|noescape}};
    <[email protected]>

    <[email protected](!$enable_default_component)-->
    settings.enableToolbar = false;
    settings.ckeconfig.toolbarCanCollapse = false;
    <[email protected]>

    <[email protected](!$enable_component)-->
    settings.loadXeComponent = false;
    <[email protected]>

    <[email protected]($module_type === 'comment'||Mobile::isMobileCheckByAgent())-->
    settings.ckeconfig.toolbarStartupExpanded = false;
    <[email protected]>

    <[email protected](!$html_mode)-->
    settings.ckeconfig.removeButtons = 'Save,Preview,Print,Cut,Copy,Paste,Source';
    <[email protected]>

    <[email protected]($css_content)-->CKEDITOR.addCss('{$css_content}');<[email protected]>

    var ckeApp = $('#ckeditor_instance_{$editor_sequence}').XeCkEditor(settings);
    });
    })(jQuery);
    </script>
  • profile ?
    아 죄송합니다.
    사용하시는 게시판스킨의 write_form.html 파일을 수정해보세요..
    <label for="postTitle">{$lang->title}</label> 부분일겁니다.
  • ? profile
    답변 고맙습니다
    덕분에 해결 했습니다.