웹프로그래밍/플러그인 및 API
CKEditor 글자수 단락 단어 표기 방법
김선비관리자
2022. 11. 3. 17:01
728x90
반응형
wordcount.zip
0.02MB
notification.zip
0.02MB
해당 파일을 다운로드 받아 설치된 에디터 경로내의 plugin(플러그인) 폴더에 업로드 하여주세요.
config.js 내에 "wordcount" 추가 및 config.wordcount 옵션 추가
config.extraPlugins = 'wordcount,simplebox,image2'; config.wordcount = { showWordCount: true, showCharCount: true, }
단락 , 단어, 글자 명을 변경하는 방법
- plugins 에 업로드한 wordcount 폴더에서 lang > ko.js 에서 항목을 수정하세요.
단락, 단어, 글자 중 1개만 나오게 하고싶은경우
- plugins 에 업로드한 wordcount 폴더에서 plugins.js 에 Default Config 항목에서
showParagraphs (단락)
showWordCount (단어)
showCharCount(글자수)
true 인 경우 노출 flase 인경우 비노출
728x90
반응형