페이지가 새로고침 되면서 아무것도 안떠요
<---- 단축키일람 이라는 버튼만 보이지않나요?
plugin/editor/smarteditor2/editor.lib.php 에서 editor_html()함수를 보면
그렇게 되도록 되어잇습니다
즉 에디터 부분만 따로 불러다 붙일 수 없다는 말입니다
아래와 같은 코드가 보일텐데요
페이지를 따로 불러오기로 실행하면
document.write<--이게 페이지를 새로고침해서 출력을 하게 되죠
if ($is_dhtml_editor)
$html .= '<script>document.write("<div class=\'cke_sc\'><button type=\'button\' class=\'btn_cke_sc\'>단축키 일람</button></div>");</script>';
======================================
아래처럼 해보면 명확하게 보일 것입니다
추가
<textarea id='test2' cols=100 rows=20></textarea>
//$("#test").load("./test.php"); 수정
$.post("./test.php", function(req){ $("#test2").val(req); });