답변 2개
채택된 답변
+20 포인트
위토즈소프트
9년 전
이렇게 한번해보세요. 테스트는 못해봤습니다.
oEditors.getById['wr_content'].exec('FOCUS', []);
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
9년 전
write.skin.php 하단에 아래 소스 추가
Copy
function start_write() { $("iframe").contents().find("iframe").contents().find("body").on("focus", function() { alert("글쓰기 시작"); }); }
/plugin/editor/smarteditor2/smart_editor2_inputarea.html 수정
Copy
<body class="se2_inputarea" style="height:0;-webkit-nbsp-mode:normal" onload="parent.parent.start_write();"></body>
테스트 해보니 뭐 이런 방식으로도 가능하네요.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인