게시판 검색을 해서 쭈욱 읽어보고 하나씩 적용했는데 이게 생각보다 잘 안되네요?

이미지와 함께 글을 쓰다보니 autogrow적용이 꼭 필요할 것같은데 해보니까 autogrow기능이 잘 안먹습니다.

아주 쉽게 적용하신분들의 tip 좀 알려주시면 감사하겠습니당~ 

 

1.다운받은 오토그로우폴더를 플러그인폴더에 넣고

 

/www/modules/editor/plugins/autogrow

 

2. /www/modules/editor/skins/ckeditor/config.js파일을 열고

 

CKEDITOR.editorConfig = function( config ) {
    // Define changes to default configuration here. For example:
   config.language = 'ko';
   config.extraPlugins = 'autogrow';
   config.autoGrow_minHeight = 200;
   config.autoGrow_maxHeight = 600;
   config.autoGrow_bottomSpace = 50;
   config.autoGrow_onStartup = true;
    // config.uiColor = '#AADC6E';
};
 

 

이렇게 해줬는데...이거 아닌가요? ㅎㅎㅎ

  • profile
    common/js/plugins/ckeditor/ckeditor/plugins 에 업로드 하신 후에


    common/js/plugins/ckeditor/ckeditor/config.js 파일을 열어서
    아래 코드를 추가해 보세요.

    config.extraPlugins = 'autogrow';
  • profile profile
    헉! 에디터 폴더가 아니네요? ㅎㅎㅎ @@ 넵 한번 해보겠습니다! 감사합니다.
  • profile profile
    아~ 됐습니다 동동님 감사합니다~~ ^^
  • profile

    혹시 나중에 저처럼 autogrow를 적용시도해 보시는 분들을 위해 추가댓글을 남깁니다.

     

    위에 동동님이 알려주신 경로와 달리 제 것은 

    "/www/common/js/plugins/ckeditor/ckeditor"  

    위처럼 CK에디터 안에 한번 더 CK에디터가 있었습니다. 

    이곳에서 플러그인을 설치하고  config.js를 만들어 위 설명처럼 적용하니까 성공했습니다.

    제가 특별히 다르게 설정하지는 않은 것같은데 저처럼 되어 있는 분들은 참고하시기 바랍니다. ^^