mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
dbaccf792d
Instead of the old "prefix" hack
20 lines
1006 B
Plaintext
20 lines
1006 B
Plaintext
title: $:/core/ui/Buttons/save
|
|
tags: $:/tags/EditToolbar
|
|
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
|
|
description: {{$:/language/Buttons/Save/Hint}}
|
|
|
|
<$fieldmangler><$button tooltip={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<$action-sendmessage $message="tm-add-tag" $param={{$:/temp/NewTagName}}/>
|
|
<$action-deletetiddler $tiddler="$:/temp/NewTagName"/>
|
|
<$action-sendmessage $message="tm-add-field" $name={{$:/temp/newfieldname}} $value={{$:/temp/newfieldvalue}}/>
|
|
<$action-deletetiddler $tiddler="$:/temp/newfieldname"/>
|
|
<$action-deletetiddler $tiddler="$:/temp/newfieldvalue"/>
|
|
<$action-sendmessage $message="tm-save-tiddler"/>
|
|
<$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>
|