Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to WYSIWYG and ajax auto-save

Re: WYSIWYG and ajax auto-save

Hi.

I encountered the same issue, it's quite annoying, here I'll give the information I've found.

1. Using Chrome browser is more preferable than using Firefox. When you typing a text and Auto Save is in progress the same time, Chrome will save that text, Firefox won't.

2. If you want to change the Auto Save interval, you need to edit /lib/ckeditor_tiki/wysiwyglib.php file, you should find the strings:

Copy to clipboard
$headerlib->add_js( '// --- config settings for the autosave plugin --- window.CKEDITOR.config.extraPlugins += (window.CKEDITOR.config.extraPlugins ? ",autosave" : "autosave" ); window.CKEDITOR.plugins.addExternal( "autosave", "'.$tikiroot.'lib/ckeditor_tiki/plugins/autosave/"); window.CKEDITOR.config.ajaxAutoSaveRefreshTime = 30 ; // RefreshTime window.CKEDITOR.config.contentsLangDirection = ' . ($prefs['feature_bidi'] === 'y' ? '"rtl"' : '"ui"') . '; window.CKEDITOR.config.ajaxAutoSaveSensitivity = 2 ; // Sensitivity to key strokes


I've changed window.CKEDITOR.config.ajaxAutoSaveRefreshTime to 300 and window.CKEDITOR.config.ajaxAutoSaveSensitivity to 20, but I'm not sure about the second parameter; I don't know exactly how that parameter works, it's connected with typed symbols amount.