mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 22:56:17 +00:00
e1b3308a9d
* tc-subtitle is not a sibling to tc-body, So tc-subtitle needs a clearfix to contains float:right * add clearfix to all tiddler elements that could contain floats * add clearfix to tc-tiddler-title in ViewTemplate * add clearfix to plugin/blog/templates * add clearfix to plugin/tour/templates * remove test tiddler * rename draft title class to tc-tiddler-title-draft * undo title field covering * move tc-clearfix to tc-float-right in the base CSS file * rename clearfix CSS class to tc-clearfix * update documentation tiddlers
18 lines
696 B
Plaintext
18 lines
696 B
Plaintext
title: $:/core/ui/EditTemplate/controls
|
|
tags: $:/tags/EditTemplate
|
|
|
|
\define config-title() $:/config/EditToolbarButtons/Visibility/$(listItem)$
|
|
\whitespace trim
|
|
<div class="tc-tiddler-title tc-tiddler-edit-title tc-clearfix">
|
|
<$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>
|