mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 18:16:44 +00:00
![Jermolene](/assets/img/avatar_default.png)
An improvement to 6fb992690d
By making sure that all the popup state tiddlers have the prefix
$:/state/popup/ we can be more selective and just exclude popup state
tiddlers when we save. The end result is that once again other kinds of
state are persisted as expected (eg tabs, and sidebar visibility).
7 lines
268 B
Plaintext
7 lines
268 B
Plaintext
title: $:/core/save/empty
|
|
|
|
\define saveTiddlerFilter()
|
|
[is[system]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
|
\end
|
|
{{$:/core/templates/tiddlywiki5.html}}
|