에디터 여러개 적용시키기 질문 입니다

에디터 여러개 적용시키기 질문 입니다

QA

에디터 여러개 적용시키기 질문 입니다

본문

한 게시판 글쓰기에서 스마트에디터를 두개 모두 적용시키려고 합니다

 

1795091610_1578033610.9528.jpg

우선 위가 기존에 적용돼 있던 내용이고 아래 테이블에 넣으려고 했는데

 

같은 소스를 복사 붙여넣기 했더니

 

1795091610_1578033654.9392.jpg

 

와 같이 Article에서 여러개 반복으로 뜨고 아래 Source 부분엔 에디터가 적용되지 않는 모습으로 나옵니다 

 

어떻게 수정해 주는 것이 좋을까요?

 


//write.skin.php
<tr>           
<th scope="row"><label for="wr_content">Article<strong class="sound_only">필수</strong></label>
</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>
 
//write.php
$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);
// 임시 저장된 글 수
$autosave_count = autosave_count($member['mb_id']);
include_once(G5_PATH.'/head.sub.php');
@include_once ($board_skin_path.'/write.head.skin.php');
include_once('./board_head.php');
$action_url = https_url(G5_BBS_DIR)."/write_update.php";
echo '<!-- skin : '.(G5_IS_MOBILE ? $board['bo_mobile_skin'] : $board['bo_skin']).' -->';
include_once ($board_skin_path.'/write.skin.php');
include_once('./board_tail.php');
@include_once ($board_skin_path.'/write.tail.skin.php');
include_once(G5_PATH.'/tail.sub.php');
 
 

 

 

 

 

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
전체 512
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT