mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 09:30:28 +00:00
9fbe72a877
By rearranging the `[all[]]` operator we are able to ensure that shadow tiddlers get processed before ordinary tiddlers. This makes it easier to create custom stylesheets that override the core.
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[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem">
|
|
<$transclude tiddler=<<listItem>>/>
|
|
</$list>
|
|
</$keyboard>
|
|
</$set>
|
|
</div>
|