diff --git a/common/css/default.css b/common/css/default.css index 9f727e125..5ba447920 100644 --- a/common/css/default.css +++ b/common/css/default.css @@ -37,3 +37,46 @@ a.bold { } +div,body { + font-size:9pt; + font-weight:normal; +} + +h1 { + font-size:20pt; + font-weight:bold; + background-color:#efefef; + color:#0f217c; + padding:5px; + border-bottom:1px solid #445bcd; +} + +h2 { + font-size:16pt; + font-weight:bold; + background-color:#efefef; + padding:3px; + border-bottom:1px solid #445bcd; +} + +h3 { + font-size:13pt; + font-weight:normal; + background-color:#efefef; + padding:3px; +} + +h4 { + font-size:10pt; + font-weight:bold; +} + +h5 { + font-size:9pt; + font-weight:normal; +} + +h6 { + font-size:8pt; + font-weight:normal; +} diff --git a/modules/editor/tpl/editor.html b/modules/editor/tpl/editor.html index 6f8097a47..eb2bce5f5 100644 --- a/modules/editor/tpl/editor.html +++ b/modules/editor/tpl/editor.html @@ -30,6 +30,12 @@ + diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index 1a5489265..c56308003 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -52,7 +52,7 @@ function editorStart(upload_target_srl) { ''+ ''+ ''+ - ''+ + ''+ content+ ''+ ''; @@ -396,6 +396,14 @@ function editorChangeFontSize(obj,srl) { obj.selectedIndex = 0; } +function editorChangeHeader(obj,srl) { + var value = obj.options[obj.selectedIndex].value; + if(!value) return; + value = "<"+value+">"; + editorDo('formatblock',value,srl); + obj.selectedIndex = 0; +} + function editorDoInsertUrl(link, upload_target_srl) { editorFocus(upload_target_srl); var iframe_obj = editorGetIFrame(srl); diff --git a/modules/editor/tpl/lang/ko.lang.php b/modules/editor/tpl/lang/ko.lang.php index 311b5195a..250875811 100644 --- a/modules/editor/tpl/lang/ko.lang.php +++ b/modules/editor/tpl/lang/ko.lang.php @@ -19,6 +19,16 @@ "Arial", ); + $lang->edit->header = "형식"; + $lang->edit->header_list = array( + "h1" => "큰 제목 (h1)", + "h2" => "중간 제목 (h2)", + "h3" => "작은 제목 (h3)", + "h4" => "제목 (h4)", + "h5" => "일반 (h5)", + "h6" => "작은글 (h6)", + ); + $lang->edit->image_url = '이미지 경로'; $lang->edit->multimedia_url = '멀티미디어 경로';