-
Notifications
You must be signed in to change notification settings - Fork 1
Local Storage Usage
The editor uses local storage for several preferences that might make sense to move into a more sophisticated user profile management system in the future. These uses of local storage are documented here as a reminder of the preferences that would need to be accounted for with any server-side/db management system.
- ContentElement clipboard
The editor saves the active ContentElement
currently selected when using the cut
/copy
functions in the editor toolbar. This persists the element with its toPersistence
method and saves it as JSON in local storage.
- Active Organization
The editor saves the most recently selected organization and sets it as active when a course is first opened.
- Navigation sidebar settings
The editor saves the current state of the lefthand organization navbar (width
and collapsed
). These preferences are local to the currently logged-in user.
- Redux logging
We allow the use of an optional redux logger that if enabled will set the browser preference in local storage for redux-logging
to true.