mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-17 17:59:45 +00:00
be06257430
Belatedly realised that the design would be clearer without these two separate concepts being conflated into a single widget. As a result of this change, any other widget or template that generates transclude widgets has needed adjustment.
11 lines
548 B
Plaintext
11 lines
548 B
Plaintext
title: $:/core/ui/TagTemplate
|
|
|
|
<$button popup="$:/state/tagpopup" qualifyTiddlerTitles="yes" class="btn-invisible"><$setstyle name="background-color" value={{!!color}} class="tw-tag-label"><$transclude title={{!!icon}}/> <$view field="title" format="text" /></$setstyle></$button>
|
|
<$reveal state="$:/state/tagpopup" type="popup" position="below" qualifyTiddlerTitles="yes" ><div class="tw-drop-down">
|
|
<$view field="title" format="link" />
|
|
----
|
|
<$list filter="[is[current]tagging[]]">
|
|
<$view field="title" format="link" />
|
|
</$list>
|
|
</div></$reveal>
|