0
div와 함께 작은 MCE 편집기의 내용을 감추고 싶습니다. 이처럼 막연한 일을하는 문서는 모호한 것처럼 보입니다.div로 작은 MCE 편집기의 내용 감싸기
내가 <div id="random-wrap"> </div>
내 옵션은 무엇과 내용을 포장 하시겠습니까? 여기
내가jQuery(document).ready(function($){
var name = "wprsspostprepend";
if($("#" + name).length > 0) {
$("#wprsspostprepend").addClass("prepend_editor");
tinyMCE.init({
mode : "specific_textareas",
editor_selector : "prepend_editor"
});
var content = tinyMCE.get("prepend_editor").getContent();
tinyMCE.get("prepend_editor").setContent("<div id='random-wrap'>" + content + "</div>");
}
});
내가 그 문제입니다 그래서 아마 워드 프레스에이 작업을 수행하려고 작업을 시도 코드입니다,하지만 난
재산을 읽을 수 없습니다
오류를 받고 계속 'getContent'of null