mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-05 13:40:02 +00:00
![Jermolene](/assets/img/avatar_default.png)
An improvement to 6fb992690d33940d3509d7d4d74538e7f458e063 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}}
|