Tag-picker: focus tag-input after clicking a tag from the dropdown (#4986)

* Tag-picker: focus tag-input after clicking a tag from the dropdown

* Update tag-picker.tid
optimising-macrocalls
Simon Huber 2020-11-06 22:16:14 +01:00 zatwierdzone przez GitHub
rodzic b3d0303139
commit 900a29fbb3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -23,6 +23,9 @@ $actions$
\define tag-button(actions,selectedClass)
<$button class="tc-btn-invisible $selectedClass$" tag="a" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}>
<$action-sendmessage $message="tm-add-tag" $param=<<tag>>/>
<$set name="currentTiddlerCSSEscaped" value={{{ [<storyTiddler>escapecss[]] }}}>
<$action-sendmessage $message="tm-focus-selector" $param=<<get-tagpicker-focus-selector>> preventScroll="true"/>
</$set>
<<delete-tag-state-tiddlers>>
$actions$
<$macrocall $name="tag-pill" tag=<<tag>>/>