mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-11 23:09:42 +00:00
![BurningTreeC](/assets/img/avatar_default.png)
this removes additional text-nodes in the dom after each `tc-tag-list-item` caused by the last empty line we could also just remove that line but I don't know if that's a permanent solution or if some mechanism will re-add that line at some point, so I go with the `whitespace trim` pragma
19 lines
855 B
Plaintext
19 lines
855 B
Plaintext
title: $:/core/ui/TagTemplate
|
|
|
|
\whitespace trim
|
|
<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">> dragFilter='[all[current]tagging[]]' tag='span'"""/>
|
|
<$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below" animate="yes" class="tc-drop-down">
|
|
<$set name="tv-show-missing-links" value="yes">
|
|
<$transclude tiddler="$:/core/ui/ListItemTemplate"/>
|
|
</$set>
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]" variable="listItem">
|
|
<$transclude tiddler=<<listItem>>/>
|
|
</$list>
|
|
<hr>
|
|
<$macrocall $name="list-tagged-draggable" tag=<<currentTiddler>>/>
|
|
</$reveal>
|
|
</$set>
|
|
</span>
|