mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-27 19:42:50 +00:00
![Simon Baird](/assets/img/avatar_default.png)
Reasons: - can show or hide the button text with CSS (assuming tv-config-toolbar-text is yes). - can have different looking buttons in the page controls versus the view toolbar, etc - more flexibility styling the button appearance, for example you can change the text size compared to the icon size - button appearance is more themeable
14 lines
597 B
Plaintext
14 lines
597 B
Plaintext
title: $:/core/ui/Buttons/edit
|
|
tags: $:/tags/ViewToolbar
|
|
caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
|
|
description: {{$:/language/Buttons/Edit/Hint}}
|
|
|
|
<$button message="tm-edit-tiddler" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
{{$:/core/images/edit-button}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Edit/Caption}}/></span>
|
|
</$list>
|
|
</$button>
|