테스트 사이트 - 개발 중인 베타 버전입니다

코멘트에 cheditor5 적용하는 법 없나요? 채택완료

맘편한넘 12년 전 조회 4,816
배추스킨은 아직 그누보드5를 지원하지 않고, 스킨 지원없이 단순히 스킨 view_comment.skin.php를 수정해서 간단히 되는 방법은 정녕 없나요?



아래는 4 질답게시판에서 검색해서 얻은 소스입니다.



이건 안되더군요. 그냥 입력란이 없어져요.



답변 미리 감사드립니다.



<!-- 에디터를 화면에 출력합니다. -->

<? if ($board[bo_use_dhtml_editor]) { ?>

<textarea style="display:none" id="wr_content" name="wr_content" rows="10"></textarea>

&nbsp;<script type="text/javascript">

var editor = new cheditor("editor");

editor.config.editorPath = "<?php ech G5_EDITOR_URL.'/cheditor5';?>";

editor.config.editorHeight = '100px';

editor.config.autoHeight = true;

editor.inputForm = 'wr_content';

editor.run();

</script>

<? } else { ?>

&nbsp; &nbsp; &nbsp; &nbsp; <textarea id="wr_content" name="wr_content" rows=8 itemname="내용" required

&nbsp; &nbsp; &nbsp; &nbsp; <? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?> style='width:100%; word-break:break-all;' class=tx></textarea>

&nbsp; &nbsp; &nbsp; &nbsp; <? if ($comment_min || $comment_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>

&nbsp;<? } ?>
댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
12년 전
저도 궁금하네요...
로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인