mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 02:20:28 +00:00
fd14e94610
* Add whitespace trim to EditToolbar cancel Button * Add whitespace trim to EditToolbar delete Button * Add whitespace trim to EditToolbar save Button
19 lines
701 B
Plaintext
19 lines
701 B
Plaintext
title: $:/core/ui/Buttons/save
|
|
tags: $:/tags/EditToolbar
|
|
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
|
|
description: {{$:/language/Buttons/Save/Hint}}
|
|
|
|
\define save-tiddler-button()
|
|
\whitespace trim
|
|
<$fieldmangler><$button tooltip={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<<save-tiddler-actions>>
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
{{$:/core/images/done-button}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Save/Caption}}/></span>
|
|
</$list>
|
|
</$button></$fieldmangler>
|
|
\end
|
|
<<save-tiddler-button>>
|