cheditor.js 문제관련 (버전은 4 ) 정보
cheditor.js 문제관련 (버전은 4 )본문
다른 사이트하고 똑같이 맞추어서 적용시켰는데
스크립트오류로
resetEditArea : function (loadContents) {
this.editAreaWrapper.style.visibility = 'hidden';
var oEditor = document.getElementById('id'+this.oname).contentWindow;
oEditor.document.designMode = "on";
if (!GB.MSIE) oEditor.document.execCommand('useCSS', false, false);
oEditor.document.open("text/html", "replace");
oEditor.document.write("<html><head></head><body>"+loadContents+"</body></html>");
oEditor.document.close();
this.editAreaWrapper.style.margin = '0px';
this.editAreaWrapper.style.padding = '0px';
this.editAreaWrapper.fontSize = this.config.editorFontSize;
oEditor.document.body.style.fontSize = this.config.editorFontSize;
oEditor.document.body.style.fontFamily = this.config.editorFontFace;
oEditor.document.body.style.margin = this.config.editAreaMargin;
oEditor.document.body.style.lineHeight = this.config.lineHeight;
this.editAreaWrapper.style.visibility = 'visible';
return oEditor;
},
여기에서 oEditor.document.designMode = "on";
이부분이
cheditor.js 액섹스가 거부되었습니다.
로 계속 떠요...
에디터에서 글을 쓸 수 가 없습니다 .ㅠㅠ
도와주세요 ㅠㅠ
스크립트오류로
resetEditArea : function (loadContents) {
this.editAreaWrapper.style.visibility = 'hidden';
var oEditor = document.getElementById('id'+this.oname).contentWindow;
oEditor.document.designMode = "on";
if (!GB.MSIE) oEditor.document.execCommand('useCSS', false, false);
oEditor.document.open("text/html", "replace");
oEditor.document.write("<html><head></head><body>"+loadContents+"</body></html>");
oEditor.document.close();
this.editAreaWrapper.style.margin = '0px';
this.editAreaWrapper.style.padding = '0px';
this.editAreaWrapper.fontSize = this.config.editorFontSize;
oEditor.document.body.style.fontSize = this.config.editorFontSize;
oEditor.document.body.style.fontFamily = this.config.editorFontFace;
oEditor.document.body.style.margin = this.config.editAreaMargin;
oEditor.document.body.style.lineHeight = this.config.lineHeight;
this.editAreaWrapper.style.visibility = 'visible';
return oEditor;
},
여기에서 oEditor.document.designMode = "on";
이부분이
cheditor.js 액섹스가 거부되었습니다.
로 계속 떠요...
에디터에서 글을 쓸 수 가 없습니다 .ㅠㅠ
도와주세요 ㅠㅠ
댓글 전체