This TiddlyWiki shows how we can let a viewer of an online TiddlyWiki save preferences for that TiddlyWiki to browser local storage, so the TiddlyWiki instances always appears, every visit, as the viewer prefers.
Usage
- Open the control panel, click on the "Appearance" tab, then the "Palette" sub-tab, and choose some Palette.
- In the Preferences, click on the button so save the current palette selection to your browser local storage.
- Open this TiddlyWiki instance in a new browser window/tab to confirm that the TiddlyWiki now opens with your previously saved Palette selection.
Relevant Tiddlers for Study
- The JavaScript macros
- Preferences tiddler to save selected palette to browser storage
- Startup Actions which restores the previously selected and saved palette