mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 10:06:44 +00:00
![Tobias Beer](/assets/img/avatar_default.png)
fixes #1333 extracts the tag-link into a component template... **$:/core/ui/Components/tag-link** ...so as to split the list in two, having two filters that list tiddlers in the add-tags popup to... 1. firstly, list matching used tags 2. secondly, list mathcing tiddler titles, thus availabe for tagging Does away with searching content as it is irrelevant if not distracting for tagging. Why two lists? Consider wanting to tag a tiddler with "Filters"... observe how the result would otherwise be way too far down because existing tiddler titles get in the way. Component templates are also desireable elsewhere, e.g. #1318
9 lines
205 B
Plaintext
9 lines
205 B
Plaintext
title: $:/core/ui/Components/tag-link
|
|
|
|
<$link>
|
|
<$set name="backgroundColor" value={{!!color}}>
|
|
<span style=<<tag-styles>> class="tc-tag-label">
|
|
<$view field="title" format="text"/>
|
|
</span>
|
|
</$set>
|
|
</$link> |