ckeditor 사용법 정리


ckeditor 사용법 정리

1. ckeditor import <script type="text/javascript" src="/업로드폴더/ckeditor.js"></script> 2. ckeditor 추가 2.1 html <textarea id="editor1" name="editor1" style="width:100%;height:200px;"></textarea> 2.2 javascript CKEDITOR.replace( 'editor1' ); 3. config 3.1 skin CKEDITOR.replace( 'editor1',{ skin:'스킨폴더명' }); ※ CKeditor 에서는 3가지 스킨을 기본적으로 포함하고 있습니다. (kama,office2003,v2) 3.2 interface color CKEditor 기본스킨을 사용할 시 위지윅 에디터의 인터페이스 UI 컬러를 설정할 수 있습니다. CKEDITOR.replace( 'editor1',{ uiColor: '#14B8C4' }); 4. Ente...


#IT·컴퓨터

원문링크 : ckeditor 사용법 정리