GithubHelp home page GithubHelp logo

1ed / ckeditor-autosave-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from w8tcha/ckeditor-autosave-plugin

0.0 1.0 0.0 487 KB

Auto Save Plugin for the CKEditor which automatically saves the content (via HTML5 LocalStorage)

ckeditor-autosave-plugin's Introduction

CKEditor-AutoSave-Plugin

Auto Save Plugin for the CKEditor which automatically saves the content (via HTML5 LocalStorage) temporarly (for example when a login session times out). And after the content is saved it can be restored when the editor is reloaded.

####How the Plugin works

The Plugin saves the content every 25 seconds (can be defined in the Config - autosave_delay), but only when the content has changed.

And when the Editor Page is reloaded and auto saved content is found and its different from the content loaded with the editor the user will be asked if the auto saved content should be loaded instead.

Screenshot

####License

Licensed under the terms of the MIT License.

####Installation

  1. Extract the contents of the file into the "plugins" folder of CKEditor.
  2. In the CKEditor configuration file (config.js) add the following code:
config.extraPlugins = 'autosave';

#####Optional The Default autosavekey can be overidden from the config ...

config.autosave_SaveKey = 'autosaveKey';

The Default Minutes (Default is 1440 which is one day) after the auto saved content is ignored can beoveridden from the config ...

config.autosave_NotOlderThan = 1440;

ckeditor-autosave-plugin's People

Contributors

bborn avatar bricker avatar ktmud avatar lavatoaster avatar w8tcha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.