스마트 에디터 너비조절

스마트 에디터 너비조절

QA

스마트 에디터 너비조절

답변 1

본문

현재, 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>";

 

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