mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
a05302da10
This reverts commit f90eb386ae
.
13 lines
686 B
Plaintext
13 lines
686 B
Plaintext
title: $:/core/ui/EditTemplate/controls
|
|
tags: $:/tags/EditTemplate
|
|
|
|
\define config-title()
|
|
$:/config/EditToolbarButtons/Visibility/$(listItem)$
|
|
\end
|
|
\whitespace trim
|
|
<div class="tc-tiddler-title tc-tiddler-edit-title">
|
|
<$view field="title"/>
|
|
<span class="tc-tiddler-controls tc-titlebar"><$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]]}}}><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$let></$list></span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|