mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-04-28 17:51:30 +00:00
21
core/ui/ControlPanel/Toolbars/EditorToolbar.tid
Normal file
21
core/ui/ControlPanel/Toolbars/EditorToolbar.tid
Normal file
@@ -0,0 +1,21 @@
|
||||
title: $:/core/ui/ControlPanel/Toolbars/EditorToolbar
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Toolbars/EditorToolbar/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
|
||||
\define config-title()
|
||||
$:/config/EditorToolbarButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
|
||||
\define toolbar-button()
|
||||
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler={{$(listItem)$!!icon}}/> <$transclude tiddler=<<listItem>> field="caption"/> -- <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
|
||||
\end
|
||||
|
||||
{{$:/language/ControlPanel/Toolbars/EditorToolbar/Hint}}
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]" variable="listItem">
|
||||
|
||||
<<toolbar-button>>
|
||||
|
||||
</$list>
|
||||
Reference in New Issue
Block a user