mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 10:06:44 +00:00
20 lines
674 B
Plaintext
20 lines
674 B
Plaintext
title: $:/core/ui/EditorToolbar/more-dropdown
|
|
|
|
\define config-title()
|
|
$:/config/EditorToolbarButtons/Visibility/$(toolbarItem)$
|
|
\end
|
|
|
|
\define conditional-button()
|
|
<$list filter={{$(toolbarItem)$!!condition}} variable="condition">
|
|
<$transclude tiddler="$:/core/ui/EditTemplate/body/toolbar/button" mode="inline"/> <$transclude tiddler=<<toolbarItem>> field="description"/>
|
|
</$list>
|
|
\end
|
|
|
|
<div class="tc-text-editor-toolbar-more">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]] -[[$:/core/ui/EditorToolbar/more]]">
|
|
<$reveal type="match" state=<<config-visibility-title>> text="hide" tag="div">
|
|
<<conditional-button>>
|
|
</$reveal>
|
|
</$list>
|
|
</div>
|