Browser-storage: Only save state tiddlers by default

And add it back to the prerelease now that it's a bit safer
wikitext-via-macros
Jermolene 2019-03-03 17:16:35 +00:00
rodzic dd4305d520
commit 2104017249
3 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -14,7 +14,7 @@ Click this button to clear browser storage and disable its use:
! Save Filter ! 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"/> <$link to="$:/config/BrowserStorage/SaveFilter">Browser Storage Save Filter</$link>: <$edit-text tiddler="$:/config/BrowserStorage/SaveFilter" default="" tag="input" size="50"/>