diff --git a/bbs/ckeditor/ckeditor.lib.php b/bbs/ckeditor/ckeditor.lib.php
index 7781b0c24..f0b0fddf5 100644
--- a/bbs/ckeditor/ckeditor.lib.php
+++ b/bbs/ckeditor/ckeditor.lib.php
@@ -8,6 +8,13 @@ function editor_html($id, $content, $ckeditor=true, $class="")
$html = "";
$html .= "웹에디터 시작";
+ $html .= "
";
+
+ ob_start();
+ include_once("shortcut.php");
+ $html .= ob_get_contents();
+ ob_end_clean();
+
if ($js) {
$html .= "\n".'';
$html .= "\n".'';
@@ -18,6 +25,11 @@ function editor_html($id, $content, $ckeditor=true, $class="")
$ckeditor_class = $ckeditor ? "ckeditor" : "";
$html .= "\n";
$html .= "\n웹 에디터 끝";
+ $html .= "\n";
return $html;
}
diff --git a/bbs/ckeditor/shortcut.php b/bbs/ckeditor/shortcut.php
new file mode 100644
index 000000000..95238dfa3
--- /dev/null
+++ b/bbs/ckeditor/shortcut.php
@@ -0,0 +1,93 @@
+
+
+ - CTRL+Z
+ - 취소하기
+ - CTRL+Y
+ - 다시 실행
+ - CTRL+B
+ - 글자 굵게
+ - CTRL+I
+ - 글자 기울이기
+ - CTRL+E
+ - 가운데 정렬
+ - CTRL+L
+ - 왼쪽 정렬
+ - CTRL+R
+ - 오른쪽 정렬
+ - CTRL+J
+ - 양쪽정렬
+ - ALT+E
+ - 이모티콘 넣기
+ - ALT+C
+ - 특수문자 넣기
+ - CTRL+Q
+ - 순서 없는 목록
+ - CTRL+SHIFT+8
+ - 순서 없는 목록 스타일
+ - CTRL+7
+ - 순서 있는 목록
+ - CTRL+SHIFT+7
+ - 순서 있는 목록 스타일
+ - CTRL+M
+ - 인용문 문단
+ - CTRL+8
+ - 들여쓰기
+ - CTRL+SHIFT+M
+ - 내어쓰기
+ - CTRL+SPACE
+ - 포맷 없애기
+ - CTRL+A
+ - 전체선택
+ - CTRL+SHIFT+X
+ - 취소선
+ - CTRL+COMMA
+ - 아래첨자
+ - CTRL+PERIOD
+ - 위첨자
+ - CTRL+U
+ - 밑줄긋기
+ - ALT+A
+ - 책갈피 만들기
+ - ALT+F
+ - 플래쉬 넣기
+ - ALT+H
+ - 구분선 넣기
+ - ALT+I
+ - 이미지 넣기
+ - ALT+L
+ - 바로가기 만들기
+ - ALT+SHIFT+L
+ - 바로가기 없애기
+ - ALT+ENTER
+ - 페이지 나누기
+ - ALT+T
+ - 테이블 만들기
+ - ALT+O
+ - 템플릿 적용
+ - F1
+ - 도움말 보기
+ - ALT+#3
+ - 색상선택기
+ - ALT+M
+ - 복사 잘라내기 붙여넣기 메뉴
+ - ALT+F11
+ - 요소 경로 포커스
+ - CTRL+SHIFT+F
+ - 찾기
+ - ALT+X
+ - 에디터 전체크기 설정/해제
+ - CTRL+F2
+ - 미리보기
+ - CTRL+SHIFT+P
+ - 인쇄하기
+ - CTRL+H
+ - 찾기 바꾸기
+ - ALT+SHIFT+T
+ - 테두리보기
+ - ALT+Z
+ - 소스보기
+ - ALT+F10
+ - 툴바로 이동
+
+
+
\ No newline at end of file
diff --git a/css/default.css b/css/default.css
index 89629f318..73be35b6b 100644
--- a/css/default.css
+++ b/css/default.css
@@ -13,7 +13,7 @@ input[type=text],
input[type=password],
input[type=submit],
input[type=image] {-webkit-appearance:none}
-button {border-radius:0;-webkit-appearance:none}
+button {border-radius:0;font-size:1em;-webkit-appearance:none}
p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
@@ -40,6 +40,18 @@ a:active {color:#000;text-decoration:underline}
#captcha_mp3 img {border:1px solid #cfded8;border-left:0;background:#494949}
#mp3_embed {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} /* 익스 8 이하에서 음성캡챠 실행 스타일 */
+/* ckeditor 단축키 */
+div.cke_sc {margin:0 0 5px;text-align:right}
+.btn_cke_sc{display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:1.9em;vertical-align:middle}
+.cke_sc_def {display:none;margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
+.cke_sc_def dl{margin:0 0 5px;text-align:left;zoom:1}
+.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
+.cke_sc_def dt,
+.cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
+.cke_sc_def dt {width:20%;font-weight:bold}
+.cke_sc_def dd {width:30%}
+.cke_sc_def_on {display:block !important}
+
/* 상단 레이아웃 */
#hd {height:73px;border-top:3px solid #151515;border-bottom:1px solid #e7f1ed;background:#fff}
#hd h1 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
diff --git a/skin/board/basic/write.skin.php b/skin/board/basic/write.skin.php
index 3e58e7f5b..e6a7aa51f 100644
--- a/skin/board/basic/write.skin.php
+++ b/skin/board/basic/write.skin.php
@@ -161,21 +161,6 @@ if ($is_admin)
}
?>
-with (document.fwrite)
-{
- if (typeof(wr_name) != "undefined")
- wr_name.focus();
- else if (typeof(wr_subject) != "undefined")
- wr_subject.focus();
- else if (typeof(wr_content) != "undefined")
- wr_content.focus();
-
- if (typeof(ca_name) != "undefined")
- if (w.value == "u") {
- ca_name.value = "=isset($write['ca_name'])?$write['ca_name']:'';?>";
- }
-}
-
function html_auto_br(obj)
{
if (obj.checked) {