mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 18:59:42 +00:00
b191ee9210
* Add fieldmangler to Manager Tags-Sidebar This makes the tm-add-tag messages in the tag-picker work * Add actions parameter back to tag-picker macro * Add div so that tag-dropdown shows below input field * Add missing tc-btn-dropdown class to dropdown button ... ... for consistency with dropdown buttons in EditTemplate * Update tag-picker.tid
30 lines
726 B
Plaintext
30 lines
726 B
Plaintext
title: $:/Manager/ItemSidebar/Tags
|
|
tags: $:/tags/Manager/ItemSidebar
|
|
caption: {{$:/language/Manager/Item/Tags}}
|
|
|
|
\define tag-checkbox-actions()
|
|
<$action-listops
|
|
$tiddler="$:/config/Manager/RecentTags"
|
|
$subfilter="[<tag>] [list[$:/config/Manager/RecentTags]] +[limit[12]]"
|
|
/>
|
|
\end
|
|
|
|
\define tag-picker-actions()
|
|
<<tag-checkbox-actions>>
|
|
\end
|
|
|
|
<p>
|
|
<$list filter="[all[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] " variable="tag">
|
|
<div>
|
|
<$checkbox tiddler=<<currentTiddler>> tag=<<tag>> actions=<<tag-checkbox-actions>>>
|
|
<$macrocall $name="tag-pill" tag=<<tag>>/>
|
|
</$checkbox>
|
|
</div>
|
|
</$list>
|
|
</p>
|
|
<p>
|
|
<$fieldmangler>
|
|
<$macrocall $name="tag-picker" actions=<<tag-picker-actions>>/>
|
|
</$fieldmangler>
|
|
</p>
|