fckeditor 2.6.6 엄청 편해졌네

by 조쉬 posted Mar 01, 2014
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
1. 상단에 js 임포트
  <script type="text/javascript" src="../fckeditor/fckeditor.js"></script>

2. 입력할 칸에 에디터 맞춰서 이름지정
  <script type="text/javascript">
<!--
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
var oFCKeditor = new FCKeditor( 'contents' ) ;  //필드명
oFCKeditor.BasePath = "/fckeditor/" ;  //경로
oFCKeditor.Height = 250 ;   //높이
oFCKeditor.Create() ;
//-->
  </script>





상단 에디터 아이콘들 조정하려면 /fckeditor/fckconfig.js 에서
FCKConfig.ToolbarSets 부분에서 사용하지 않는것 빼주면 됨.

FCKConfig.DefaultLanguage 는 ko 로 ..

Articles

3 4 5 6 7 8 9 10 11 12