mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 18:10:27 +00:00
d4d69d7dd3
This was introduced to make it possible in the new stacked story view to click on a tiddler to bring it to the front. By allowing a tiddler in view mode to be focussed, it also prepared for view mode keyboard shortcuts. (Eg, a key to edit the current tiddler). However, there are several minor issues with the unexpected behaviour of clicking on a tiddler navigating to it, so we’ll leave this out of 5.1.8
9 lines
563 B
Plaintext
9 lines
563 B
Plaintext
title: $:/core/ui/ViewTemplate
|
|
|
|
\define frame-classes()
|
|
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
|
|
\end
|
|
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$tiddler tiddler=<<currentTiddler>>><div class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
|
|
</div>
|
|
</$tiddler></$set></$set>
|