diff --git a/core/wiki/macros/tag-picker.tid b/core/wiki/macros/tag-picker.tid index 43bcf96d7..befd1efbf 100644 --- a/core/wiki/macros/tag-picker.tid +++ b/core/wiki/macros/tag-picker.tid @@ -16,7 +16,7 @@ second-search-filter: [tags[]is[system]search:titlesort[]] $actions$ -<> +<$action-deletetiddler $tiddler=<>/><$action-setfield $tiddler=<> text={{{ [get[text]] }}}/> <$action-setfield $tiddler=<> text="yes"/> \end @@ -26,7 +26,8 @@ $actions$ <$set name="currentTiddlerCSSEscaped" value={{{ [escapecss[]] }}}> <$action-sendmessage $message="tm-focus-selector" $param=<> preventScroll="true"/> -<> +<$action-deletetiddler $tiddler=<>/><$action-setfield $tiddler=<> text={{{ [get[text]] }}}/> +<$action-setfield $tiddler=<> text="yes"/> $actions$ <$macrocall $name="tag-pill" tag=<>/> @@ -58,7 +59,7 @@ $actions$ focusPopup=<> class="tc-edit-texteditor tc-popup-handle" tabindex=<> focus={{{ [{$:/config/AutoFocus}match[tags]then[true]] ~[[false]] }}} filterMinLength={{$:/config/Tags/MinLength}} cancelPopups=<> configTiddlerFilter="[[$:/core/macros/tag-picker]]"/> -<$button popup=<> class="tc-btn-invisible tc-btn-dropdown" tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}>{{$:/core/images/down-arrow}} +<$button popup=<> class="tc-btn-invisible tc-btn-dropdown" tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}>{{$:/core/images/down-arrow}}<$reveal state=<> type="nomatch" text=""><$button class="tc-btn-invisible tc-small-gap tc-btn-dropdown">{{$:/core/images/close-button}}<> <$set name="tag" value={{{ [get[text]] }}}> <$button set=<> setTo="" class=""> <$action-sendmessage $message="tm-add-tag" $param=<>/>