스마트 에디터 너비조절

스마트 에디터 너비조절

QA

스마트 에디터 너비조절

본문

현재, smarteditor2 를 사용중입니다.

 

지금 sir 입력창 ^^

 

/smarteditor2/SmartEditor2Skin.html 에서

 


<div id="smart_editor2">
	<div id="smart_editor2_content"><a href="#se2_iframe" class="blind">글쓰기영역으로 바로가기</a>
		<div class="se2_tool" id="se2_tool"> 

 

 

 

저.. smart_editor2 의 min-width를 조절하고 싶은데 어디서 하시는지 아시는분 계신가요?

 

 

파일 전체검색해도 잘 안나오고 딱 10px만 줄이고 싶은데요 ㅜㅜ

이 질문에 댓글 쓰기 :

답변 1

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

28번째 줄 살펴보세요. 

nMinWidth:parseInt(elIRField.style.minWidth, 10)||570, 

 

아마 여기도 같이 하셔야 할 것 같네요.

/plugin/editor/smarteditor2/editor.lib.php

41번째 줄 width:100% 부분을 px 단위로 주면 됩니다.

 

$html .= "\n<textarea id=\"$id\" name=\"$id\" class=\"$smarteditor_class\" maxlength=\"65536\" style=\"width:100%\">$content</textarea>";

 

 $html .= "\n<textarea id=\"$id\" name=\"$id\" class=\"$smarteditor_class\" maxlength=\"65536\" style=\"width:500px\">$content</textarea>";

 

답변을 작성하시기 전에 로그인 해주세요.
전체 24
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT