codex-team / codex-team/editor.js
💡Save 'outputData' to 'localStorage' on data change (triggered by onChange() event) built-in support
Open
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Once the page is reloaded, the data in the Editor.js is lost. How about saving it in the localStorage (or cookies) which would be triggered by onChange() event.
A small element can be used to represent the current state of the data. For example,
`[Saving...] => [Saved]` and this will be triggered by onChange() function internally.
It could also show some error message like `[Not Connected]` for network issues.
I know this can be implemented by the user but a native support would be great! :)
I can start working on the feature, if approved.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.