채택완료
cheditor5 의 기본 폰트크기 변경하기
현재 chedtor5를 사용중인데요. 기본 폰트 크기가 9pt로 되어 있습니다.
이것을 현재 sir qa게시판처럼 10pt로 하고 싶습니다.
알기로는 cheditor.js파일에서 수정을 하면 된다고 하던데, 한번 해본 적이 있는데 잘 안돼서 질문을 드립니다.
그리고 에디터에서 만든 테이블의 선 색사도 변경하고 싶습니다.
고수님들, 잘 부탁 드립니다.
답변 2개 / 댓글 4개
채택된 답변
+20 포인트
cheditor.js 파일에서
Copy
function setConfig () { this.config = { editorWidth : '100%', editorHeight : '300px', editorFontSize : '9pt', editorFontName : '굴림', editorFontColor : '#000', editorBgColor : '#fff', lineHeight : 1.5, editAreaMargin : '5px 10px', tabIndex : 0, editorPath : null, fullHTMLSource : false, linkTarget : '_blank', showTagPath : false, imgMaxWidth : 640, imgBlockMargin : '5px 0px', imgReSize : true, includeHostname : true, ieEnterMode : 'div', // [css, div, br, default] outputXhtml : true, xhtmlLang : 'utf-8', xhtmlEncoding : 'utf-8', docTitle : '내 문서',
.............
부분 수정하시면 됩니다.
editorFontSize
저는 225라인에 있네요.
답변에 대한 댓글 4개
답변을 작성하려면 로그인이 필요합니다.
됐습니다.....!!^^