kopia lustrzana https://github.com/miklobit/TiddlyWiki5
20 wiersze
674 B
Plaintext
20 wiersze
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>
|