mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 15:54:50 +00:00
b805633dc9
We’re introducing a mechanism that allows us to decide which tiddlers get saved. Using `$:/core/save/all` gives all tiddlers, as before. Using `$:/core/save/empty` gives an empty wiki. Saving an empty wiki from tw5.com isn’t the same as the empty wiki cooked from editions/empty because the two editions have different plugins and other system tiddlers.
13 lines
496 B
Plaintext
13 lines
496 B
Plaintext
title: $:/core/templates/store.area.template.html
|
|
|
|
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
|
`<div id="storeArea" style="display:none;">`
|
|
<$list filter=<<saveTiddlerFilter>> template="$:/core/templates/html-div-tiddler"/>
|
|
`</div>`
|
|
</$reveal>
|
|
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
|
`<!------------- Encrypted tiddlers --------->`
|
|
`<pre id="encryptedStoreArea" type="text/plain" style="display:none;">`
|
|
<$encrypt filter=<<saveTiddlerFilter>>/>
|
|
`</pre>`
|
|
</$reveal> |