로그인

검색

Extra Form

20210830_100703.jpg

1. 파일 위치 

..Rhymix/modules/editor/skins/ckeditor/editor.html

 

2. 댓글 부분 > 약 183라인

        // Define the simple toolbar.
        <!--@if($editor_toolbar === 'simple')-->
            settings.ckeconfig.toolbar = [
                { name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
                { name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
                { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
                { name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
                { name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
            ];
        <!--@endif-->

 

3. 모바일이 아닌 경우만 툴바 하단으로 보내기

            <!--@if(!Mobile::isMobileCheckByAgent())-->
                // 모바일이 아닌 경우만 버튼을 아래로 내림
                // 버튼이 아래로 내려가면 모바일에서 파일업로드가 되지 않음 
                settings.ckeconfig.toolbarLocation = 'bottom';
            <!--@endif-->

 

4. 관리자와 일반사용가간 댓글 툴바 다르게 보이기 

            <!--@if($logged_info->is_admin == 'Y')-->
                settings.ckeconfig.toolbar = [
                 ... // 관리자일때 

                ];
            <!--@endif-->
            <!--@if($logged_info->is_admin)-->
                settings.ckeconfig.toolbar = [

                ... // 로그인 사용자 일 때

                ];
            <!--@endif-->
            <!--@if(!$logged_info->is_admin)-->

                settings.ckeconfig.toolbar = [

                  ... // 로그인하지 않은 사용자 일 때

                ];
            <!--@endif-->

 


@ 최종 설정 모양 @

        // Define the simple toolbar.
        <!--@if($editor_toolbar === 'simple')-->
            settings.ckeconfig.toolbar = [
                { name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
                { name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
                { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
                { name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
                { name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
            ];

            <!--@if(!Mobile::isMobileCheckByAgent())-->
                // 모바일이 아닌 경우만 버튼을 아래로 내림
                // 버튼이 아래로 내려가면 모바일에서 파일업로드가 되지 않음 
                settings.ckeconfig.toolbarLocation = 'bottom';
            <!--@endif-->

        <!--@endif-->

 

 

 

 

 


  1. 01
    Feb 2022
    12:24

    html 페이지 안에 다른 html 파일 포함하기

    헤더 스크립트에 아래 내용 추가 <script src="jquery.js"></script> <script> $(function(){ $("#includedHtml").load("/경로/b.html"); }); </script> 본문에 아래 내용 추가 <body> <div id="includedHtml"></div> </body>
    Read More
  2. 04
    Jan 2022
    05:18

    XE Official Skin + PlannerXE123(v5.10.1) 색상 정리

    /xe_official_planner123/css/planner123_calendar_white.css 102Line> .planner_calendar tr td.hover { background-color: rgba(255, 0, 0, 0.5) } 마우스 오버시 색상
    Read More
  3. 01
    Jan 2022
    18:45

    게시판 스킨, 일정관리를 위한 PlannerXE123 Ver 5.10.1 배포처

    PlannerXE123
    Read More
  4. 30
    Dec 2021
    12:57

    Rhymix 에서 CSS 로 배경이미지(body) 적용시 CKeditor4 입력창에도 배경이 들어가는 문제

    Rhymix 에서 body 스타일에 배경이미지를 적용하면 body 스타일이 CKeditor 입력란에도 적용되어 버림. Rhymix/modules/editor/skins/ckeditor/css/default.less 파일의 .cke_wysiwyg_div 스타일에 background 스타일을 적용하면 해당 색상으로 입력란 배경이 ...
    Read More
  5. 28
    Dec 2021
    22:13

    ckeditor 색상 값 정리

    root/modules/editor/skins/ckeditor/css/default.css body.cke_editable { padding: 5px; background-color: transparent; } // html.cke_panel_container, html.cke_panel_container body { background-color: transparent; }
    Read More
  6. 26
    Dec 2021
    21:44

    라이믹스 변수 정리

    Rhymix 사용 변수 $val1['text'] 1차 메뉴 명 $val1['desc'] 메뉴의 설명
    Read More
  7. 17
    Sep 2021
    15:46

    Ckeditor Toolbar 등록 이름

    // Toolbar configuration generated automatically by the editor based on config.toolbarGroups. config.toolbar = [ { name: 'document', groups: [ 'mode', 'document', 'doctools' ], items: [ 'Source', '-', 'Save', 'NewPage', 'ExportPdf', 'Preview...
    Read More
  8. 09
    Sep 2021
    23:17

    웹진형 제목 글자 크기 와 색상

    board.css /* Webzine */ .bd_zine>li{position:relative;margin:0 auto;word-break:break-all;word-wrap:break-word} ... .bd_zine.zine .tmb_wrp img,.bd_zine .no_img{border:1px solid #DDD} .bd_zine h3{margin:0;font-size:15px;color:#444} black.css /...
    Read More
  9. 19
    Aug 2021
    13:18

    Ckeditor in Rhymix 댓글 부분 설정 변경

    1. 파일 위치 ..Rhymix/modules/editor/skins/ckeditor/editor.html 2. 댓글 부분 > 약 183라인 // Define the simple toolbar. <!--@if($editor_toolbar === 'simple')--> settings.ckeconfig.toolbar = [ { name: 'styles', items: [ 'Font', 'FontSize', '-...
    Read More
  10. 19
    Aug 2021
    13:04

    Sketchbook5 댓글 부분 색상 지정

    ..Rhymix/modules/board/skins/sketchbook5/css/black.css 댓글 쓰기 영역 테두리, 배경 색 부분 .cmt_editor,.fdb_tag{border-color:#333;background:#131313}
    Read More
Board Pagination Prev 1 2 3 4 Next
/ 4