TiddlyWiki5/plugins/tiddlywiki/comments/toolbar-button-save.tid

12 wiersze
361 B
Plaintext

title: $:/plugins/tiddlywiki/comments/toolbar-button-save
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"/>
save
</$button>
</$reveal>
</$reveal>