Plugin to save drafts to browser storage #5389
-
Hi. I was trying to find a plugin that saves drafts locally into the browser. My use case is mobile devices where web pages can be reloaded without my consent, thus losing any unsaved tiddler. I couldn't find such a plugin I'll try to write one. Since changes need to be persisted as they happen I don't want to use sync nor save. From within browser I can access any lost drafts if need be. Is there already builtin events to track draft changes in Tiddlywiki I could subscribe to? Attaching a handler to text area node should also work with mutation observation to watch parent nodes. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There is a core plugin: Browser Storage: Local storage in the browser which you can find in the default plugin loader |
Beta Was this translation helpful? Give feedback.
There is a core plugin: Browser Storage: Local storage in the browser which you can find in the default plugin loader