Q&A

ckeditor를 사용하고 있습니다. 추가설정에서 자동저장 옵션에도 체크되어있습니다..만

자동저장이 안되네요. -_-a;

제목만 저장이 되고 본문은 저장이 안됩니다;

 

https://github.com/w8tcha/CKEditor-AutoSave-Plugin

이걸 깔아볼까 싶어서 일단 

/www/common/js/plugins/ckeditor/ckeditor/plugins/autosave

위 디렉토리에 설치를 했고요.

 

www\common\js\plugins\ckeditor\ckeditor\config.js

이 파일에서도

CKEDITOR.editorConfig = function( config ) {
    config.enterMode = 'CKEDITOR.ENTER_BR';
    config.fillEmptyBlocks = false;
    //config.extraPlugins = 'autosave';
    config.autosave = {
        // Auto save Key - The Default autosavekey can be overridden from the config ...
        Savekey : "autosaveKey",

        // Ignore Content older then X
        //The Default Minutes (Default is 1440 which is one day) after the auto saved content is ignored can be overidden from the config ...
        NotOlderThen : 1440,

        // Save Content on Destroy - Setting to Save content on editor destroy (Default is false) ...
        saveOnDestroy : false,

        // Setting to set the Save button to inform the plugin when the content is saved by the user and doesn't need to be stored temporary ...
        saveDetectionSelectors : "a[href^='javascript:__doPostBack'][id*='Save'],a[id*='Cancel']",

        // Notification Type - Setting to set the if you want to show the "Auto Saved" message, and if yes you can show as Notification or as Message in the Status bar (Default is "notification")
        messageType : "notification",

        // Show in the Status Bar
        //messageType : "statusbar",

        // Show no Message
        //messageType : "no",

        // Delay
        delay : 10,

        // The Default Diff Type for the Compare Dialog, you can choose between "sideBySide" or "inline". Default is "sideBySide"
        diffType : "sideBySide"
    };
};

이렇게 등록해줬습니다. 이렇게 하면 동작이 되는게 맞나요??;;

 

이온디 Lv. 13
# 라이믹스 스킨 제작은 어디? >>>> XE 레이아웃, 라이믹스 스킨제작은 이온디에서 커스터마이징해드립니다.
# 빠른 라이믹스 커뮤니티용 호스팅을 찾고 계신가요? >>>> 이온디호스팅 서비스는 PHP8 & Redis 서버 캐시를 활용하여 라이믹스에 최적화된 호스팅 서비스를 제공해드립니다. (서버세팅시 웹패널, 내도메인메일서비스도 함께 구축해드립니다.)
https://eond.com

댓글 3