mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 18:59:42 +00:00
28591965b1
This change re-instates the existing behaviour whereby omitting the parameter to the “tag” macro will default to the current tiddler
16 lines
748 B
Plaintext
16 lines
748 B
Plaintext
title: $:/core/ui/TagTemplate
|
|
|
|
<span class="tc-tag-list-item">
|
|
<$set name="transclusion" value=<<currentTiddler>>>
|
|
<$macrocall $name="tag-pill-body" tag=<<currentTiddler>> icon={{!!icon}} colour={{!!color}} palette={{$:/palette}} element-tag="""$button""" element-attributes="""popup=<<qualify "$:/state/popup/tag">>"""/>
|
|
<$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below" animate="yes" class="tc-drop-down">
|
|
<$transclude tiddler="$:/core/ui/ListItemTemplate"/>
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]" variable="listItem">
|
|
<$transclude tiddler=<<listItem>>/>
|
|
</$list>
|
|
<hr>
|
|
<$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
|
|
</$reveal>
|
|
</$set>
|
|
</span>
|