버그 아닐까요? $html에 문자열이 안들어가네요 채택완료
버그 아닐까요? $html에 문자열이 안들어가네요
이거 어떻게 해결할 수 있을까요?
출처 : /plugin/editor/smarteditor2/editor.lib.php 에서...
아래를 거친 $html 결과에...
가장 끝의 \n가 안들어가고 있습니다
제가 수정한게 아닌... 배포 그대로인데요... 이거 에러 잡을 수 있을까요?
if ($is_dhtml_editor && $js) {
$html .= "\n".'';$html .= "\n".'';
$html .= "\n".'';
$html .= "\n"; // <=== 여기요... 여기에서.$html 에... \n가 안들어가지네요
$js = false;
}
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
채택된 답변
+20 포인트
11년 전
버그게시판에 올려진 글에도 답변을 드렸지만 기본 코드에서 결과 화면에 정상적으로
해당 코드가 출력되고 있습니다.
http://demo.sir.co.kr/gnuboard5/bbs/write.php?bo_table=free">http://demo.sir.co.kr/gnuboard5/bbs/write.php?bo_table=free
</p><p><script></p><p> $(function(){</p><p> $(".btn_cke_sc").click(function(){</p><p> if ($(this).next("div.cke_sc_def").length) {</p><p> $(this).next("div.cke_sc_def").remove();</p><p> $(this).text("단축키 일람");</p><p> } else {</p><p> $(this).after("<div class='cke_sc_def' />").next("div.cke_sc_def").load("<a href="<a href="http://demo.sir.co.kr/gnuboard5/plugin/editor/smarteditor2/shortcut.html" target="_blank" rel="noopener noreferrer">http://demo.sir.co.kr/gnuboard5/plugin/editor/smarteditor2/shortcut.html</a>"><a href="http://demo.sir.co.kr/gnuboard5/plugin/editor/smarteditor2/shortcut.html" target="_blank" rel="noopener noreferrer">http://demo.sir.co.kr/gnuboard5/plugin/editor/smarteditor2/shortcut.html</a></a>");</p><p> $(this).text("단축키 일람 닫기");</p><p> }</p><p> });</p><p> $(".btn_cke_sc_close").live("click",function(){</p><p> $(this).parent("div.cke_sc_def").remove();</p><p> });</p><p> });</p><p><span style="color: rgb(255, 0, 0);"></script></span> </p><p>
위와 같이 출력이 되고 있습니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
�
멋진남자임
11년 전
편리님 감사합니다^^ 이상하게.. 이클립스에서는... 그게 \n</script> 가 안들어 가지는듯... 자꾸... $(this).text("단축키 일람 닫기"); 까지만 출력되네요
댓글을 작성하려면 로그인이 필요합니다.
11년 전
문제가 되는 url을 적어 두는것이, 코드 문제로 묻는것 보다 훨씬 문제 해결에 도움이 되실 겁니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
채택
답변대기
답변대기
답변대기
답변대기
채택
채택
답변대기
답변대기
답변대기
채택