r

cheditor.js 문제관련 (버전은 4 )

· 2013-05-07 (화) 20:50:45 · 1852
다른 사이트하고 똑같이 맞추어서 적용시켰는데

스크립트오류로

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 액섹스가 거부되었습니다.


로 계속 떠요...

에디터에서 글을 쓸 수 가 없습니다 .ㅠㅠ

도와주세요 ㅠㅠ
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13-05-08 조회 1,009
13-05-08 조회 1,738
13-05-08 조회 2,823
13-05-08 조회 1,663
13-05-08 조회 1,664
13-05-08 조회 1,651
13-05-08 조회 967
13-05-08 조회 1,660
13-05-08 조회 1,639
13-05-08 조회 1,075
13-05-07 조회 2,474
13-05-07 조회 3,575
13-05-07 조회 1,240
13-05-07 조회 1,853
13-05-07 조회 1,201
13-05-07 조회 1,687
13-05-07 조회 1,241
13-05-07 조회 710
13-05-07 조회 2,463
13-05-07 조회 870