mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-06 10:06:19 +00:00
b9ae6607c0
* the text/vnd-tiddlywiki tiddler and language * adding trim: edit and view templates
13 lines
546 B
Plaintext
13 lines
546 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"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list></span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|