mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
c7b4febae3
We get a significant speed improvement of >10% by rearranging filter operators to bring to the front the operators likely to reduce the size working list.
15 lines
480 B
Plaintext
15 lines
480 B
Plaintext
title: $:/core/ui/EditTemplate
|
|
|
|
\define frame-classes()
|
|
tw-tiddler-frame tw-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$
|
|
\end
|
|
<div class=<<frame-classes>>>
|
|
<$set name="storyTiddler" value=<<currentTiddler>>>
|
|
<$keyboard key="ctrl+enter" message="tw-save-tiddler">
|
|
<$list filter="[all[tiddlers+shadows]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem">
|
|
<$transclude tiddler=<<listItem>>/>
|
|
</$list>
|
|
</$keyboard>
|
|
</$set>
|
|
</div>
|