위토즈 - 개발자프로그램판매공간

정보공유

[그누보드팁] 스마트 에디터 반응형에서 가로사이즈 맞게 출력시키기

 


-------------------------------------------------------------------------


/plugin/editor/smarteditor2/css/smart_editor2.css 파일에서 아래 2가지 수정.

 


약 6번째 줄에 아래 코드 추가.

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

 

 

 

 

#smart_editor2 .se2_text_tool{position:relative;clear:both;z-index:30;padding:4px 0 4px 3px;background:#f4f4f4 url("../img/bg_text_tool.gif") 0 0 repeat-x;border-bottom:1px solid #b5b5b5;*zoom:1} 

 

 

#smart_editor2 .se2_text_tool{position:relative;clear:both;z-index:30;padding:4px 15px 4px 3px;background:#f4f4f4 url("../img/bg_text_tool.gif") 0 0 repeat-x;border-bottom:1px solid #b5b5b5;*zoom:1} 

 

로 수정.

 

 

-------------------------------------------------------------------------


plugin/editor/smarteditor2/css/ko_KR/smart_editor2.css  하단에


@media (max-width: 767px) { /* xs */

#smart_editor2 .se2_text_tool ul{float:none;display:block;margin-right:3px;padding-left:1px;white-space:nowrap}

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

#smart_editor2 .se2_text_tool ul.se2_font_type li {margin-left: 0px;}

#smart_editor2 .se2_text_tool ul.se2_font_type:after {display:block;visibility:hidden;clear:both;content:""}

}


-------------------------------------------------------------------------


plugin/editor/smarteditor2/SmartEditor2noframe.html


<script type="text/javascript">

if(window.frameElement){

jindo.$("se2_sample").style.display = "none";

}else{

var oEditor = createSEditor2(jindo.$("ir1"), {

bUseToolbar : true, // 툴바 사용 여부 (true:사용/ false:사용하지 않음)

bUseVerticalResizer : true, // 입력창 크기 조절바 사용 여부 (true:사용/ false:사용하지 않음)

bUseModeChanger : true, // 모드 탭(Editor | HTML | TEXT) 사용 여부 (true:사용/ false:사용하지 않음)

//bSkipXssFilter : true, // client-side xss filter 무시 여부 (true:사용하지 않음 / 그외:사용)

//aAdditionalFontList : [["MS UI Gothic", "MS UI Gothic"], ["Comic Sans MS", "Comic Sans MS"],["TEST","TEST"]],

fOnBeforeUnload : function(){

//예제 코드

//return "내용이 변경되었습니다.";

},

          minWidth: 300

});



plugin/editor/smarteditor2/js/service/SE2BasicCreator.js


9f64e3cfe24c6e1b93d1f434d6ddef0a_1753169647_5885.png
 

정보공유
Total 462건 1 페이지
번호 제목 글쓴이 날짜 조회
462 회원아이디 자동 생성 함수 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-20 24
461 중앙 토스트 레이어 , 버튼을 클릭하면 화면 중앙에 3초간 보였다가 fadeout 되는 레이어창. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-19 26
460 관리자 권한이 super 아니고 관리권한설정을 부여받은 회원이 관리자 화면에 접속했을때 부여받은 메뉴로 바로 접속되도록 처리 (2) 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-15 166
459 관리자 권한이 super 아니고 관리권한설정을 부여받은 회원이 관리자 화면에 접속했을때 부여받은 메뉴로 바로 접속되도록 처리 (1) 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-15 167
458 SQL 주입 방지 Prepared Statement 의 생활화 mysqli PDO 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-15 139
457 크로스 사이트 스크립팅(XSS) 테스트 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-12 205
456 2일전부터 오늘까지의 데이터 정보 가져오기. 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 08-05 258
455 text input 박스 에 휴대폰번호 입력할때 자동으로 하이픈 넣기 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 07-18 372
454 주소 정보 입력시 다음우편번호 스크립트를 사용할때 배열처리 할 경우 오류 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 07-11 501
453 자바스크립트를 이용해서 버튼 클릭시 이미지로 저장하는 방법 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-30 1053
452 내부망의 자료를 외부에 연결해서 사용하게 하고 싶을때 사용하는 ngrok 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-27 1227
451 html 폴더 생성하고 html 하위 파일은 확장자 없이도 연결가능하도록 .htaccess 파일 설정하기 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-21 1320
450 on off 가능한 checkbox css + jquery 조합 버튼 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-17 1245
449 비동기식으로 초성 버튼 클릭 보여주기 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 05-13 1372
448 그누보드 관리자화면에 iframe 으로 띄울경우 엣지브라우저에서 튕기는 현상 위토즈쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 03-17 2459