1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00
TiddlyWiki5/core/ui/EditToolbar/save.tid

25 lines
713 B
Plaintext
Raw Normal View History

title: $:/core/ui/Buttons/save
2013-11-17 21:53:39 +00:00
tags: $:/tags/EditToolbar
2014-07-29 09:20:13 +00:00
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
2014-07-31 08:28:46 +00:00
description: {{$:/language/Buttons/Save/Hint}}
2013-11-17 21:53:39 +00:00
\whitespace trim
\procedure save-tiddler-button()
<$fieldmangler>
<$button
tooltip={{$:/language/Buttons/Save/Hint}}
aria-label={{$:/language/Buttons/Save/Hint}}
class=<<tv-config-toolbar-class>>
>
<<save-tiddler-actions>>
<%if [<tv-config-toolbar-icons>match[yes]] %>
{{$:/core/images/done-button}}
<%endif%>
<%if [<tv-config-toolbar-text>match[yes]] %>
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Save/Caption}}/></span>
<%endif%>
</$button>
</$fieldmangler>
\end
<<save-tiddler-button>>