에디터 여러개 적용시키기 질문 입니다 채택완료
merci
5년 전
조회 2,558
한 게시판 글쓰기에서 스마트에디터를 두개 모두 적용시키려고 합니다

우선 위가 기존에 적용돼 있던 내용이고 아래 테이블에 넣으려고 했는데
같은 소스를 복사 붙여넣기 했더니

와 같이 Article에서 여러개 반복으로 뜨고 아래 Source 부분엔 에디터가 적용되지 않는 모습으로 나옵니다
어떻게 수정해 주는 것이 좋을까요?
</p>
<p>//write.skin.php</p>
<p><tr>
<th scope="row"><label for="wr_content">Article<strong class="sound_only">필수</strong></label></p>
<p></th>
<td class="wr_content">
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
</td>
</tr>
<tr>
<th>Source</th>
<td class="wr_content">
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
</td>
</tr></p>
<p> </p>
<p>//write.php</p>
<p>$editor_html = editor_html('wr_content', $content, $is_dhtml_editor);
$editor_js = '';
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);</p>
<p>// 임시 저장된 글 수
$autosave_count = autosave_count($member['mb_id']);</p>
<p>include_once(G5_PATH.'/head.sub.php');
@include_once ($board_skin_path.'/write.head.skin.php');
include_once('./board_head.php');</p>
<p>$action_url = https_url(G5_BBS_DIR)."/write_update.php";</p>
<p>echo '<!-- skin : '.(G5_IS_MOBILE ? $board['bo_mobile_skin'] : $board['bo_skin']).' -->';
include_once ($board_skin_path.'/write.skin.php');</p>
<p>include_once('./board_tail.php');
@include_once ($board_skin_path.'/write.tail.skin.php');
include_once(G5_PATH.'/tail.sub.php');</p>
<p> </p>
<p> </p>
<p>
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
답변에 대한 댓글 1개
m
merci
5년 전
감사합니다~
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인