mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-05 21:50:02 +00:00
![Jeremy Ruston](/assets/img/avatar_default.png)
* Add support for \dir pragma * Add "dir" attribute to reveal, edit, edit-text and edit-codemirror widgets * Add $:/config/DefaultTextDirection hidden setting * Revert accidentally commited test data This reverts some of commit b83c1d160f12813a499872126d637b7f2199a29b. * Remove Codemirror plugin from Prerelease Makes it easier to test things * Fix framed text editor directionality in Firefox * Add direction attribute for edit body template * Missed closing brace * Add docs for \dir pragma * Templates should set text direction from a variable, not a transclusion * Updates to framed.js in the light of PRs that have been merged since this * Restore whitespace trim * Docs dates * Fix typo * Clarify docs
15 lines
561 B
Plaintext
15 lines
561 B
Plaintext
title: $:/core/ui/ViewTemplate/subtitle
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
\whitespace trim
|
|
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
|
|
<div class="tc-subtitle" dir=<<tv-text-direction>>>
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]" variable="subtitleTiddler" counter="indexSubtitleTiddler">
|
|
<$list filter="[<indexSubtitleTiddler-first>match[no]]" variable="ignore">
|
|
|
|
</$list>
|
|
<$transclude tiddler=<<subtitleTiddler>> mode="inline"/>
|
|
</$list>
|
|
</div>
|
|
</$reveal>
|