팁/튜토리얼

에디터에 트위터의 그것 처럼 WORD COUNTER를 달아보자. 

 

fe7dc7d5af50aee1111d1ceb1cbcaff1.png

 

다운로드 이후 다른 플러그인 처럼 설치해주세요. 위 스크린샷 처럼 한글화 해두었습니다.

 

필수

config.extraPlugins = 'wordcount,notification';

 

옵션설정

config.wordcount =

{ // Whether or not you want to show the Word Count

showWordCount: true,

// Whether or not you want to show the Char Count

showCharCount: false,

// Maximum allowed Word Count

maxWordCount: 4,

// Maximum allowed Char Count

maxCharCount: 10 };

 

저작권

http://w8tcha.github.io/CKEditor-WordCount-Plugin/

 

ps. 브라우저 캐시 재설정이 필요합니다.

 

 

skyo Lv. 10
https://x86.co.kr

댓글 14