테스트 사이트 - 개발 중인 베타 버전입니다

스마트 에디터 내용 출력 안됨 도와주세요ㅠㅠ

dlfpire 7개월 전 조회 2,291

안녕하세요

그누보드 게시판에 스마트에디터를 사용중입니다.

현재 앱 기준으로 웹도 만들어서 사용하고 있는데

 

모바일에서는 잘 가져오는데 피씨에서 wr_content 내용을 못 가져 옵니다

http://sir.kr/data/editor/2503/1889794178_1743400029.1791.png" width="556" />

 

모바일에서도 내용은 잘 가져오는데 이렇게 나오다가

http://sir.kr/data/editor/2503/1889794178_1743400004.6454.png" width="460" />

사진 첨부하면 원래대로 나옵니다

http://sir.kr/data/editor/2503/1889794178_1743399977.1076.png" width="425" />

뭐가 문제인지 잘 모르겠습니다ㅠ 도와주세요

 

현재 이렇게 고쳐둔 상태 입니다.

 

plugin/editor/smarteditor2/css/ko_KR/smart_editor2.css

: 스마트 에디터 툴 css 추가 (body max-width 를 485px 로 잡아놔서 바꾸었습니다)

</p>

<p>#smart_editor2{margin-right:1px !important;min-width:100px !important}</p>

<p>@media screen and (max-width: 640px){</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(4n){clear:both;}</p>

<p> #smart_editor2 .se2_text_tool ul{margin-bottom:4px}</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(n+4){margin-bottom:0}</p>

<p> #smart_editor2 .se2_text_tool .se2_multy,#smart_editor2 .se2_text_tool .se2_multy button, #smart_editor2 .se2_text_tool .se2_multy button span{height:54px}</p>

<p>}</p>

<p>@media screen and (max-width: 515px){</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(3n){clear:both;margin-left:4px}</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(6n),#smart_editor2 .se2_text_tool ul:nth-child(4n){clear:none;margin-left:0}</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(n+3){margin-bottom:0}</p>

<p>}</p>

<p>@media screen and (max-width: 370px){</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(2n){clear:both;margin-left:4px}</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(3n){clear:both;margin-left:4px}</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(6n),#smart_editor2 .se2_text_tool ul:nth-child(4n){clear:none;margin-left:0}</p>

<p> #smart_editor2 .se2_text_tool ul:nth-child(n+3){margin-bottom:0}</p>

<p> #smart_editor2 .se2_text_tool .se2_multy,#smart_editor2 .se2_text_tool .se2_multy button, #smart_editor2 .se2_text_tool .se2_multy button span{height:79px}</p>

<p>}</p>

<p>@media screen and (max-width: 325px){</p>

<p> #smart_editor2 .se2_text_tool .se2_multy,#smart_editor2 .se2_text_tool .se2_multy button, #smart_editor2 .se2_text_tool .se2_multy button span{height:29px;}</p>

<p> #smart_editor2 .se2_text_tool .se2_multy{border-bottom:1px solid #e0dedf}</p>

<p>}</p>

<p>

 

plugin/editor/smarteditor2/js/service/SE2BaicCreator.js

: 넓이 570 -> 350 수정

</p>

<p>var htDimension = {</p>

<p>        nMinHeight:205,</p>

<p>        nMinWidth:parseInt(elIRField.style.minWidth, 10)||350,</p>

<p>        nHeight:elIRField.style.height||elIRField.offsetHeight,</p>

<p>        nWidth:elIRField.style.width||elIRField.offsetWidth</p>

<p>    };</p>

<p>

 

config.php

: false -> true

</p>

<p>// 모바일 기기에서 DHTML 에디터 사용여부를 설정합니다.</p>

<p>define('G5_IS_MOBILE_DHTML_USE', true);</p>

<p>

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

플라이
7개월 전

Pc에서 $write['wr_content'] 를 찍어 정상적으로 코드 불러오는지 여부와 html탭에서는 코드가 보이는지 확인해 보세요

로그인 후 평가할 수 있습니다

답변에 대한 댓글 4개

d
dlfpire
7개월 전
$write['wr_content'] 는 html 태그 없이 내용들만 나오고
html탭에서는 어떤 코드 말하시는지 알 수 있을까요?
플라이
7개월 전
html 탭에서는 html 내용소스 그대로 표기 되고 있는지 해서요
d
dlfpire
7개월 전
내용소스는 잘 나오고 있습니다
찾아보니 id=se2_iframe 의 height가 0으로 설정돼서 안 나오는 거 같은데 이거는 불러올 때 css 파일에서 하느 건가요? js 에서 설정되는 건가요..?
플라이
7개월 전
그렇다면 css부분 조정작업하면서 문제가 발생된듯 보입니다.

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인