답변 1개
채택된 답변
+20 포인트
3년 전
반갑습니다. 아직까지 영카트 4를 사용하시는 분이 계셔서요..
저도 일부 영카트4와 그누보드4 아직까지 관리하고 있습니다.
cheditor5 복사후
</p>
<p><script src='/cheditor5/cheditor.js'></script>
<script type='text/javascript'>
var ed_wr_content = new cheditor('ed_wr_content');
ed_wr_content.config.editorHeight = '250';
ed_wr_content.config.editorWidth = '100%';
ed_wr_content.inputForm = 'tx_wr_content';
</script><script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<div style="height:14px; line-height:1px; font-size:1px;"> </div></p>
<p><style type="text/css">
.write_head { height:30px; text-align:center; color:#8492A0; }
.field { border:1px solid #ccc; }</p>
<p>/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right}
.bt_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%}</p>
<p>/* ckeditor 태그 기본값 */
#bo_v_con ul {display:block;list-style-type:disc;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con ol {display:block;list-style-type:decimal;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con li {display:list-item}n_cke_sc {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:1.9em;vertical-align:middle;cursor:pointer}
.cke_sc_def {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
</style></p>
<p> </p>
<p>//.... 아래 내용중간쯤에</p>
<p> </p>
<p>echo cheditor2('wr_content', $content);</p>
<p> </p>
<p>
요렇게 한줄 넣으시면 잘 동작됩니다.
해보시다 궁금하신점 있으시면 쪽지 주세요.!!
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
�
줄리안
3년 전
에디터 화면이 구현까지는 되는데 이미지 업로드 및 기존 상품설명 이미지들이 보이지가 않네요. ㅠ.ㅠ
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인