댓글에 cheditor 쓰고 싶어요.
댓글에 cheditor 쓰고 싶어서
상단에
<?
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250');
?>
댓글 입력 부분에..
<? if ($board[bo_use_dhtml_editor]) { ?>
<?=cheditor2('wr_content', $content);?>
이렇게 달았는데..
화면이 나오긴 하는데.
포커싱도 안되고..
에디터의 버튼도 아무것도 눌리지 않네요.
무슨 문제 일까요?
혹시나 하여.
<?=cheditor2('wr_content', $content);?>
이부분을 form 영역이 아닌부분
에 넣어 봤더니 에디터에 포커싱(커서 깜박임)이 가긴 하네요.
그런데 댓글쓰기 버튼을 누르면 커맨트가 없다고 나오네요.
상단에
<?
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250');
?>
댓글 입력 부분에..
<? if ($board[bo_use_dhtml_editor]) { ?>
<?=cheditor2('wr_content', $content);?>
이렇게 달았는데..
화면이 나오긴 하는데.
포커싱도 안되고..
에디터의 버튼도 아무것도 눌리지 않네요.
무슨 문제 일까요?
혹시나 하여.
<?=cheditor2('wr_content', $content);?>
이부분을 form 영역이 아닌부분
에 넣어 봤더니 에디터에 포커싱(커서 깜박임)이 가긴 하네요.
그런데 댓글쓰기 버튼을 누르면 커맨트가 없다고 나오네요.
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 1개
한번 보세요