안녕하세요..
여분필드 wr_1 를 에디터로 사용할려면 어떻게 해야 하나요?
어디서 본것 같은데 다시 찾을려니 안보이네요..
감사합니다.
답변 2개 / 댓글 2개
수정 파일 : write.skin.php
상단 ?> 안쪽에 아래 내용 추가.
$wr_1_editor_html = editor_html('wr_1', $write['wr_1'], true);
$wr_1_editor_js = '';
$wr_1_editor_js .= get_editor_js('wr_1', true);
$wr_1_editor_js .= chk_editor_js('wr_1', true);
하단 스크립트 부분 <?php echo $editor_js; 바로 윗줄에 추가
<?php echo $wr_1_editor_js; ?>
원하는 위치에 넣기 (실제 에디터가 출력되는 부분)
<?php echo $wr_1_editor_html; ?>
답변에 대한 댓글 1개
답변에 대한 댓글 1개
확인해보니
<?=editor_html('wr_1', $write['wr_1'], $is_dhtml_editor);?>
이거만 있는데요?
에디터가 안나오는데요?
답변을 작성하려면 로그인이 필요합니다.