CKEditor 편칩창내에서 적용되는 기본 설정 css 파일은 ckeditor/contents.css 로 되어있다.
다른 css 파일 적용법 : 아래 코드에서 contentsCss 부분.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
CKEDITOR.replace('editor1',{ | |
contentsCss: '../CSS/ckeditor_specific.css', // apply my own css. not default contents.css | |
width: 660, // contents width final web page(600) + editor margin(20)*2 + vertical scroll bar(20) | |
height: 500 | |
}); | |
</script> | |
// detail about contentsCss -> http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss |
///939.
'지속가능티끌 > 웹,워드프레스' 카테고리의 다른 글
파비콘( favicon) 만들기, 웹 사이트 적용하기. (5) | 2016.09.06 |
---|---|
rss 만들기. (0) | 2016.09.05 |
CKEditor. 수직 스크롤바 항상보이기. (0) | 2016.09.03 |
CKEditor. Plugin. Cy-GistInsert. 설치 및 기본 사용법. gist 코드 삽입 편리하게. (0) | 2016.08.28 |
CKEditor. Plugin 직접 만들기. 예: Cy-GistInsert (0) | 2016.08.27 |
댓글