[에디터] CKeditor4.x 에 폰트 추가하기
페이지 정보
루루아빠
3,641
2015.04.28 13:00:54
짧은주소
-
https://yadolee.com/tip/138 주소복사
본문
그누보드 설치된 폴더/plugin/editor/ckeditor4_eyoom/config.js 를 열어
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
위 코드 아래쪽에 config.font_names = ' '; 소스를 추가하여 한글 및 영문 폰트를 추가한다.
사용 예제
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.font_names = '굴림/Gulim;돋움/Dotum;바탕/Batang;궁서/Gungsuh;맑은 고딕/Malgun;Arial/arial;Comic Sans MS/comic;Courier New/cour;Georgia/georgia;Lucida Sans/LSANS;Tahoma/tahoma;Times New Roman/times;Trebuchet MS/trebuc;Verdana/verdana;'; // 사용 가능한 폰트 설정
추천인
레벨 101
경험치 1,519,179
Progress Bar 13.8%
- 가입일 : 2015-03-04 03:24:54
- 서명 : KNOW YOUR LIMITS
BUT NEVER STOP TRYING TO EXCEED THEM !!
- 자기소개 : 루루의 자랑
루루아빠랍니다~~
최신댓글이 없습니다.


댓글
첫 번째 댓글을 남겨 주세요