cheditor 관련해서 질문합니다 채택완료
cho개발
6년 전
조회 2,949

이부분에서 cheditor-container 가 style="width:80%"으로 되어있는데요.
template.xml에서 바꿀려고 했는데 style="width: 80%;"가 적용이 안되어있더라고요.
어디서 수정하나요?
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
6년 전
/plugin/editor/cheditor5/css/ui.css 에서
.cheditor-container 를 찾아서 수정하면 됩니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
c
cho개발
6년 전
찾아서 바꿀려는데 width도 안적혀있어서 width:100%으로 넣어줬는데 안바껴요..
c
cho개발
6년 전
스킨 form.skin.php 부분에
<script type="text/javascript">
var myeditor = new cheditor(); // 에디터 개체를 생성합니다.
myeditor.config.editorHeight = '300px'; // 에디터 세로폭입니다.
myeditor.config.editorWidth = '99%'; // 에디터 가로폭입니다.
myeditor.config.imgReSize = true;
myeditor.config.imgMaxWidth = 640;
myeditor.inputForm = 'fm_post'; // textarea의 id 이름입니다. 주의: name 속성 이름이 아닙니다.
myeditor.run(); // 에디터를 실행합니다.
</script>
이부분을 99%로 바꿔주니깐 됩니다. 감사합니다.
<script type="text/javascript">
var myeditor = new cheditor(); // 에디터 개체를 생성합니다.
myeditor.config.editorHeight = '300px'; // 에디터 세로폭입니다.
myeditor.config.editorWidth = '99%'; // 에디터 가로폭입니다.
myeditor.config.imgReSize = true;
myeditor.config.imgMaxWidth = 640;
myeditor.inputForm = 'fm_post'; // textarea의 id 이름입니다. 주의: name 속성 이름이 아닙니다.
myeditor.run(); // 에디터를 실행합니다.
</script>
이부분을 99%로 바꿔주니깐 됩니다. 감사합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인