write_form.html 에서 39번째 줄
<textarea name="content" rows="8" cols="42" id="nText"></textarea>
을
{$oDocument->getEditor()}
로 변경하여 CK에디터를 적용하였습니다.
테스트를 해보니 잘 되더군요.
그런데 에디터 높이가 길게 나오는 문제가 발생하여 아래와 같이 조치하였습니다만,
/common/js/plugins/ckeditor/ckeditor/config.js
var isMyMobile = false;
var mobileInfo = new Array('Android', 'iPhone', 'iPod', 'BlackBerry', 'Windows CE', 'SAMSUNG', 'LG', 'MOT', 'SonyEricsson');
for (var info in mobileInfo) {
if (navigator.userAgent.match(mobileInfo[info]) != null) {
isMyMobile = true;
break;
}
}
if(isMyMobile==true) {
CKEDITOR.editorConfig = function( config ) {
config.height = 100;
};
}
어떻게 수정할 방법 없을까요??
그냥 제작의뢰로 가야할까요;;
css에 min-height 가 있어서 그래요~