답변 2개
채택된 답변
+20 포인트
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>
테스트 해보니 뭐 이런 방식으로도 가능하네요.
답변을 작성하려면 로그인이 필요합니다.