From 1dfc29c1277c26620ec561300c8688fbc4d88993 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 19 Feb 2020 18:58:13 +0000 Subject: [PATCH] Browser-storage plugin: Don't save popup state by default --- plugins/tiddlywiki/browser-storage/config/SaveFilter.tid | 2 +- plugins/tiddlywiki/browser-storage/settings.tid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid b/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid index b08b934c0..72c1715eb 100644 --- a/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid +++ b/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid @@ -1,2 +1,2 @@ title: $:/config/BrowserStorage/SaveFilter -text: [prefix[$:/state/]] +text: [prefix[$:/state/]] -[prefix[$:/state/popup/]] diff --git a/plugins/tiddlywiki/browser-storage/settings.tid b/plugins/tiddlywiki/browser-storage/settings.tid index 380a1bbac..b958914ca 100644 --- a/plugins/tiddlywiki/browser-storage/settings.tid +++ b/plugins/tiddlywiki/browser-storage/settings.tid @@ -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 `[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. +This filter determines which tiddlers will be saved to local storage. By default, it contains `[prefix[$:/state/]] -[prefix[$:/state/popup/]]` to just save state tiddlers except popup 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: <$edit-text tiddler="$:/config/BrowserStorage/SaveFilter" default="" tag="input" size="50"/>