채택완료
에디터 사용시는 에디터로, 아니면 textarea 로 노출
그누보드5 에디터 사용안함으로 하고
textare 높이를 작게 하고 싶은데요.
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
요렇게만 되어 있어 난감합니다.
SE2BasicCreator.js 부분에
nMinHeight:320, 값을 조정해도 안되고 ...
어디서 수정해야 하는지요?
|
답변 3개
채택된 답변
+20 포인트
전체 게시판과 입력칸에 동시 적용하는 방법이긴 합니다만...
/lib/editor.lib.php 파일안에 11줄쯤에 아래 소스
function editor_html($id, $content)
{
return "<textarea id=\"$id\" name=\"$id\" style=\"width:100%;\" maxlength=\"65536\">$content</textarea>";
}
이걸...
function editor_html($id, $content)
{
return "<textarea id=\"$id\" name=\"$id\" style=\"width:100%; height:200px;\" maxlength=\"65536\">$content</textarea>";
}
이렇게 바꿔보세요.
빨간색 부분을 추가하는거로요.
답변을 작성하려면 로그인이 필요합니다.