cheditor.js 문제관련 (버전은 4 ) > 그누4 질문답변

그누4 질문답변

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

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


로 계속 떠요...

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

도와주세요 ㅠㅠ
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로