1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 07:20:47 +00:00
TiddlyWiki5/plugins/tiddlywiki/comments/add-comment-button.tid
Jermolene ec18a55033 Comments plugin: several enhancements
As proposed in #3378

* Experimental support for comments on the entire wiki (enable in the plugin config panel). Implemented as comments on $:/SiteTitle, with the comments appearing at the top of the story river
* Refactor the "add comment" button actions so that they can be reused
* Refactor the comment toolbar to be extensible via a system tag
* Add an $:/AdvancedSearch canned filter for accessing all comments
2018-08-07 21:37:07 +01:00

8 lines
331 B
Plaintext

title: $:/plugins/tiddlywiki/comments/add-comment-button
<$reveal state="$:/status/IsReadOnly" type="match" text="no" default="no" tag="div" class="tc-comment-button">
<$button class="tc-btn-invisible" actions={{$:/plugins/tiddlywiki/comments/add-comment-button}}>
add comment {{$:/core/images/add-comment}}
</$button>
</$reveal>