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

모바일에서 에디터가 잘려나옵니다.. 그리고.. 채택완료

슈퍼노비스 2년 전 조회 2,660

모바일에서 에디터가 나오게 하려면 config.php 파일에서 true로 설정해야 한다는 것을 검색을 통해 찾아내서

했더니

 

그림과 같이 잘려나옵니다..

그래서 또 검색을 해보니 스마트에디터 플러그인 디렉토리 안의 css안에 있는 smart_editor2.css 에

 

</p>

<p>/* 모바일용 */

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

@media screen and (max-width: 640px){

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

 #smart_editor2 .se2_text_tool ul{margin-bottom:4px}

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

 #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}

}

@media screen and (max-width: 515px){

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

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

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

}

@media screen and (max-width: 370px){

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

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

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

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

 #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}

}

@media screen and (max-width: 325px){

 #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;}

 #smart_editor2 .se2_text_tool .se2_multy{border-bottom:1px solid #e0dedf}

}</p>

<p>

이와 같이 넣어주면 된다하여 넣었는데도 똑같습니다..

 

어떻게 해야 할까요 ㅠㅠ

 

마지막 질문은 검색하다보니 관리자페이지의 게시판 설정에서 모바일용 에디터를 따로 지정할 수 있다던데

저는 어딜 찾아봐도 없습니다.. (그누보드 설치하고 그대로임)

따로 설치해줘야 하는게 있나요? 있다면 그건 어디서 받나요?

너무 어렵네요 ㅠㅠ

 

 

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

답변 3개

채택된 답변
+20 포인트
F
2년 전

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

 

파일안에 위의 소스를 넣어보세요. 

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

답변에 대한 댓글 2개

슈퍼노비스
2년 전
피리님 답변 감사합니다
근데 알려주신 경로에는 smarteditor2라는 디렉토리가 없습니다..
/plugin/editor/ 안에는 있던데 거기에 위 소스를 넣었는데 안되고 있습니다..

혹시 나리야 빌더라 안되는거련지요 ㅠㅠ
썽피리
2년 전
아 제가 editor를 빼먹었네요.
/plugin/editor/smarteditor2/css/ko_KR/smart_editor2.css
안에 넣고 ctrl+f5 눌러서 확인해 보세요. 우선 PC로 모바일 환경에서 테스트해 보시면 바뀌는거 확인할수 있을겁니다.

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

들레아빠

모바일만 따로 지정은 없고, 게시판별로 에디터 지정은 있습니다.

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

답변에 대한 댓글 1개

슈퍼노비스
2년 전
그렇군요
나리야에서 검색하니 다 그소리하길래 혹시나 해서 여쭤봤어용

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

들레아빠

/plugin/editor/smarteditor2/css/ko_KR/smart_editor2.css의 마지막 부분에

</p>

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

@media screen and (max-width: 639px){

 #smart_editor2 .se2_text_tool ul:nth-child(4n){clear:both}

 #smart_editor2 .se2_text_tool ul{margin-bottom:4px}

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

 #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:40px;line-height:40px;madding-top:5px;height:54px}

 #smart_editor2 .se2_text_tool .se2_multy .se2_icon {line-height: 40px;height: 40px;background-position: 0 -127px;}

}

@media screen and (max-width: 515px){

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

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

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

}

@media screen and (max-width: 370px){

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

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

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

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

 #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}

}

@media screen and (max-width: 325px){

 #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;}

 #smart_editor2 .se2_text_tool .se2_multy{border-bottom:1px solid #e0dedf}

}</p>

<p>

추가하세요.

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

답변에 대한 댓글 3개

슈퍼노비스
2년 전
제가 올린거랑 다른건가요?
일단 해볼게영
들레아빠
2년 전
코드는 같은 것 같습니다.
폰에서 캐시를 삭제후 해보세요.
슈퍼노비스
2년 전
헐 캐시지워보니 됩니다..
뭐 이런...쩝...
마지막 질문에 대한 답은 아무도 모르시는건가요 ㅎㅎ

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

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

로그인