cheditor5에서 Blocked a frame with origin ...

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
cheditor5에서 Blocked a frame with origin ...

QA

cheditor5에서 Blocked a frame with origin ...

답변 1

본문

chedior5.1.9.3 을 사용하고 있습니다.

그리고 사진을 추가하려고하면 

Uncaught DOMException: Blocked a frame with origin "https://도메인" from accessing a cross-origin frame.
    at HTMLIFrameElement.popWinResizeHeight (https://도메인/gnu/editor/cheditor5/cheditor.js:4766:38)

 

이런식으로 오류가 나면서 사진을 추가하려는 팝업창도 뜨지 않습니다. 

어떻게 하면 될까요?

 

제가 했던 것은 write.skin.php 의 <script></script>부분에 

document.domain ="도메인";

을 추가했습니다. 

또는 cheditor.js docuemnt.domain ="도메인";

을 입력했는데도 안됩니다. 

도메인은 www.abc.com이 있다면 abc.com만 입력했습니다. 

 

그리고 4766번째줄에 난 오류는 iframe.contentWindow.init.call(self, iframe, popupAttr.argv || null);

처럼 써있습니다.

 

 

 

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 2
© SIRSOFT
현재 페이지 제일 처음으로