From e852dcf9a3983f16c6d8165986c9baa69ce9bab0 Mon Sep 17 00:00:00 2001 From: TATECK Date: Fri, 21 Jun 2024 03:15:20 +0900 Subject: [PATCH] =?UTF-8?q?Editor=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit smartEditor 사용 시 홈페이지의 기본 스타일 (배경/글씨 기본 색상 등)을 반영하여 볼 수 있도록 수정 작업 --- .../editor/smarteditor2/SmartEditor2Skin.html | 2 +- AvocadoEdition/plugin/editor/smarteditor2/config.js | 2 +- .../editor/smarteditor2/css/smart_editor2.css | 1 + .../editor/smarteditor2/css/smart_editor2_in.css | 13 ++++--------- .../smarteditor2/smart_editor2_inputarea.html | 2 +- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/AvocadoEdition/plugin/editor/smarteditor2/SmartEditor2Skin.html b/AvocadoEdition/plugin/editor/smarteditor2/SmartEditor2Skin.html index ea6d9ac..8574475 100644 --- a/AvocadoEdition/plugin/editor/smarteditor2/SmartEditor2Skin.html +++ b/AvocadoEdition/plugin/editor/smarteditor2/SmartEditor2Skin.html @@ -1,5 +1,5 @@ - + diff --git a/AvocadoEdition/plugin/editor/smarteditor2/config.js b/AvocadoEdition/plugin/editor/smarteditor2/config.js index 1082152..9d54577 100644 --- a/AvocadoEdition/plugin/editor/smarteditor2/config.js +++ b/AvocadoEdition/plugin/editor/smarteditor2/config.js @@ -13,7 +13,7 @@ bUseToolbar : true, // 툴바 사용 여부 (true:사용/ false:사용하지 않음) bUseVerticalResizer : true, // 입력창 크기 조절바 사용 여부 (true:사용/ false:사용하지 않음) bUseModeChanger : true, // 모드 탭(Editor | HTML | TEXT) 사용 여부 (true:사용/ false:사용하지 않음) - aAdditionalFontList : [['Noto Sans KR', 'Noto Sans KR'],['Nanum Gothic', '나눔고딕'],['Nanum Myeongjo', '나눔명조'],['aphopis', 'APHOPIS']], // 추가 글꼴 목록 + aAdditionalFontList : [['Noto Sans KR', 'Noto Sans KR'],['Nanum Gothic', '나눔고딕'],['Nanum Myeongjo', '나눔명조']], // 추가 글꼴 목록 fOnBeforeUnload : function(){ //alert("완료!"); } diff --git a/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2.css b/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2.css index 020e2d1..f3971e8 100644 --- a/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2.css +++ b/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2.css @@ -1,4 +1,5 @@ @charset "UTF-8"; + /* NHN Web Standardization Team (http://html.nhndesign.com/) HHJ 090226 */ /* COMMON */ body,#smart_editor2,#smart_editor2 p,#smart_editor2 h1,#smart_editor2 h2,#smart_editor2 h3,#smart_editor2 h4,#smart_editor2 h5,#smart_editor2 h6,#smart_editor2 ul,#smart_editor2 ol,#smart_editor2 li,#smart_editor2 dl,#smart_editor2 dt,#smart_editor2 dd,#smart_editor2 table,#smart_editor2 th,#smart_editor2 td,#smart_editor2 form,#smart_editor2 fieldset,#smart_editor2 legend,#smart_editor2 input,#smart_editor2 textarea,#smart_editor2 button,#smart_editor2 select{margin:0;padding:0} diff --git a/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2_in.css b/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2_in.css index f34ddcf..8cc39ce 100644 --- a/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2_in.css +++ b/AvocadoEdition/plugin/editor/smarteditor2/css/smart_editor2_in.css @@ -1,22 +1,17 @@ @charset "UTF-8"; +@import url(../../../../css/style.css); +@import url(../../../../data/css/_design.config.css); /* Nanum Gothic */ @import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css); /* Noto Sans KR */ @import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); /* Nanum Myeongjo */ @import url(http://fonts.googleapis.com/earlyaccess/nanummyeongjo.css); -@font-face { - font-family: 'aphopis'; - src: url('../../../../css/fonts/MetalMania-Regular.eot'); - src: url('../../../../css/fonts/MetalMania-Regular.eot#iefix') format('embedded-opentype'), - url('../../../../css/fonts/MetalMania-Regular.ttf') format('truetype'), - url('../../../../css/fonts/MetalMania-Regular.woff') format('woff'); - font-weight: normal; - font-style: normal; -} + /* NHN Web Standardization Team (http://html.nhndesign.com/) HHJ 090226 */ /* COMMON */ +body {width:auto !important;} body,.se2_inputarea{margin:0;padding:0;font-family:'돋움',Dotum,Helvetica,Sans-serif;font-size:12px;line-height:1.5} /* body,.se2_inputarea,.se2_inputarea th,.se2_inputarea td{margin:0;padding:0;font-family:'돋움',Dotum,Helvetica,Sans-serif;font-size:12px;line-height:1.5;color:#666} */ .se2_inputarea p,.se2_inputarea br{margin:0;padding:0} diff --git a/AvocadoEdition/plugin/editor/smarteditor2/smart_editor2_inputarea.html b/AvocadoEdition/plugin/editor/smarteditor2/smart_editor2_inputarea.html index a3af8f6..b6983b1 100644 --- a/AvocadoEdition/plugin/editor/smarteditor2/smart_editor2_inputarea.html +++ b/AvocadoEdition/plugin/editor/smarteditor2/smart_editor2_inputarea.html @@ -1,5 +1,5 @@ - + Smart Editor™ WYSIWYG Mode