mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-28 20:12:41 +00:00
13 lines
451 B
Plaintext
13 lines
451 B
Plaintext
![]() |
title: $:/plugins/tiddlywiki/comments/toolbar-button-cancel
|
||
|
tags: $:/tags/CommentToolbarButton
|
||
|
|
||
|
<$reveal state="$:/status/IsReadOnly" type="match" text="no" default="no" tag="span">
|
||
|
<$reveal type="match" state="!!edit-mode" text="yes">
|
||
|
<$button>
|
||
|
<$action-setfield $tiddler=<<currentTiddler>> $field="edit-mode" $value="no"/>
|
||
|
<$action-setfield $tiddler=<<currentTiddler>> $field="text" $value={{!!saved-text}}/>
|
||
|
cancel
|
||
|
</$button>
|
||
|
</$reveal>
|
||
|
</$reveal>
|