1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Browser-storage: Only save state tiddlers by default

And add it back to the prerelease now that it's a bit safer
This commit is contained in:
Jermolene 2019-03-03 17:16:35 +00:00
parent dd4305d520
commit 2104017249
3 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,8 @@
"tiddlywiki/external-attachments",
"tiddlywiki/dynaview",
"tiddlywiki/codemirror",
"tiddlywiki/comments"
"tiddlywiki/comments",
"tiddlywiki/browser-storage"
],
"themes": [
"tiddlywiki/vanilla",

View File

@ -1,2 +1,2 @@
title: $:/config/BrowserStorage/SaveFilter
text: [all[]]
text: [prefix[$:/state/]]

View File

@ -14,7 +14,7 @@ Click this button to clear browser storage and disable its use:
! Save Filter
This filter determines which tiddlers will be saved to local storage. By default, it contains `[all[]]` meaning that it will attempt to save all tiddlers. Other useful values include `[prefix[$:/state/]]` to just save state tiddlers, thus preserving selected tabs, and the open/closed status of table of contents entries.
This filter determines which tiddlers will be saved to local storage. By default, it contains `[prefix[$:/state/]]` to just save state tiddlers, thus preserving selected tabs, and the open/closed status of table of contents entries. Other useful values include `[all[]]` meaning that it will attempt to save all tiddlers.
<$link to="$:/config/BrowserStorage/SaveFilter">Browser Storage Save Filter</$link>: <$edit-text tiddler="$:/config/BrowserStorage/SaveFilter" default="" tag="input" size="50"/>