|
|
@@ -66,7 +66,7 @@ if(window.location.href.indexOf('admin') <= -1) // 사용자
|
|
|
// autoresize라는 플러그인도 있음.
|
|
|
menubar = false;
|
|
|
plugins = 'advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker searchreplace visualblocks visualchars code fullscreen insertdatetime media nonbreaking save table contextmenu directionality emoticons template paste textcolor codesample';
|
|
|
- toolbar = 'fontselect | fontStyle | fontsizeselect | bold underline strikethrough forecolor backcolor alignleft aligncenter alignright alignjustify | link imageUpload media | code | codesample';
|
|
|
+ toolbar = 'fontselect | fontStyle | fontsizeselect | bold underline strikethrough forecolor backcolor alignleft aligncenter alignright alignjustify | link imageUpload media table | code | codesample';
|
|
|
|
|
|
} else { // 관리자
|
|
|
|
|
|
@@ -139,7 +139,14 @@ let setting = {
|
|
|
// autoresize_bottom_margin: 0,
|
|
|
// autoresize_on_init: true,
|
|
|
content_style:
|
|
|
- "body {font-family: Nanum-Square-Neo-Regular;}",
|
|
|
+ "body {font-family: Nanum-Square-Neo-Regular;}" +
|
|
|
+ // 표 열/행 경계 드래그 바. default 스킨의 content.min.css 에는 이 규칙이 빠져 있어(lightgray 에만 존재)
|
|
|
+ // 경계선에 마우스를 올려도 커서가 바뀌지 않아 드래그로 너비 조절이 가능한지 알 수 없다.
|
|
|
+ ".ephox-snooker-resizer-bar {background-color: #2276d2; opacity: 0; user-select: none;}" +
|
|
|
+ ".ephox-snooker-resizer-bar:hover {opacity: 0.35;}" +
|
|
|
+ ".ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {opacity: 0.2;}" +
|
|
|
+ ".ephox-snooker-resizer-cols {cursor: col-resize;}" +
|
|
|
+ ".ephox-snooker-resizer-rows {cursor: row-resize;}",
|
|
|
font_formats: "Default='나눔스퀘어'" +
|
|
|
";나눔스퀘어=Nanum-Square-Neo-Regular, 나눔스퀘어" +
|
|
|
";돋움=dotum, 돋움" +
|
|
|
@@ -204,6 +211,14 @@ let setting = {
|
|
|
relative_urls: true,
|
|
|
remove_script_host: true,
|
|
|
|
|
|
+ // 표 설정
|
|
|
+ // 새 표는 table_default_styles 기본값(width:100%)으로 삽입되므로, 열 너비는 % 단위 인라인 style 로 기록된다.
|
|
|
+ object_resizing: true, // 표/이미지 크기 조절 핸들 (false 로 두면 표 열 너비 조절도 함께 꺼진다)
|
|
|
+ table_resize_bars: true, // 표 경계선 드래그로 열/행 크기 조절
|
|
|
+ table_toolbar: 'tableprops tablecellprops tabledelete' +
|
|
|
+ ' | tableinsertrowbefore tableinsertrowafter tabledeleterow' +
|
|
|
+ ' | tableinsertcolbefore tableinsertcolafter tabledeletecol', // 셀 속성(너비 직접 입력) 추가
|
|
|
+
|
|
|
// 비디오 설정
|
|
|
media_poster: false, // 포스터 파일
|
|
|
media_alt_source: false, // 대체 소스
|