mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-17 07:11:22 +00:00
Allow drag and drop in toolbar layout in control panel
This commit is contained in:
@@ -3,9 +3,8 @@ tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Toolbars/PageControls/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
\define config-title()
|
||||
$:/config/PageControlButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
|
||||
\define config-base() $:/config/PageControlButtons/Visibility/
|
||||
|
||||
{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}
|
||||
|
||||
@@ -13,11 +12,7 @@ $:/config/PageControlButtons/Visibility/$(listItem)$
|
||||
|
||||
<$set name="tv-config-toolbar-text" value="yes">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
||||
|
||||
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i>
|
||||
|
||||
</$list>
|
||||
<$macrocall $name="list-tagged-draggable" tag="$:/tags/PageControls" itemTemplate="$:/core/ui/ControlPanel/Toolbars/ItemTemplate"/>
|
||||
|
||||
</$set>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user