1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00
TiddlyWiki5/plugins/tiddlywiki/comments/toolbar-button-delete.tid

12 lines
339 B
Plaintext
Raw Normal View History

title: $:/plugins/tiddlywiki/comments/toolbar-button-delete
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-deletetiddler $tiddler=<<currentTiddler>>/>
delete
</$button>
</$reveal>
</$reveal>