mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-14 11:15:41 +00:00
b33a3293fe
It dates from an ancient version of TW5, and is really redundant now. It also meant that system tiddlers were not encrypted, which seems confusing for end users.
16 lines
680 B
Plaintext
16 lines
680 B
Plaintext
title: $:/core/templates/store.area.template.html
|
|
|
|
\define saveFilter()
|
|
[is[tiddler]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]]
|
|
\end
|
|
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
|
`<div id="storeArea" style="display:none;">`
|
|
<$list filter=<<saveFilter>> 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=<<saveFilter>>/>
|
|
`</pre>`
|
|
</$reveal> |