Skip to content
SteveRidout edited this page Sep 5, 2012 · 11 revisions

All user data and settings are stored within the browser on the user's local machine, so the server can be completely stateless.

The src/storage.js module wraps localStorage to provide persistent storage for the editor, or falls back to simple session storage if localStorage isn't available. The different pages use the storage as follows:

Search by Name and Search by Example

  • Not used in the core library, although the reference implementation uses it when the Edit button is pressed to store the CSL style before opening the Visual Editor page.

Visual Editor

Code Editor

  • The CSL style
  • The example citations

You can view and reset the current local storage from the settings page.