mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-04 23:56:39 +00:00
Comments plugin: Switch to using the list field to attach comments
https://github.com/Jermolene/TiddlyWiki5/issues/3378#issuecomment-413137626
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
title: $:/plugins/tiddlywiki/comments/add-comment-button-actions
|
||||
|
||||
<$set name="username" value={{$:/status/UserName}} emptyValue="(anonymous)">
|
||||
<$action-createtiddler $basetitle={{{ [[Comment by ']addsuffix<username>addsuffix[' on ']addsuffix<currentTiddler>addsuffix[']] }}} comment-target=<<currentTiddler>> text="" edit-mode="yes"/>
|
||||
<$set name="target" filter="[<currentTiddler>]">
|
||||
<$action-createtiddler $basetitle={{{ [[Comment by ']addsuffix<username>addsuffix[' on ']addsuffix<currentTiddler>addsuffix[']] }}} role="comment" list=<<target>> text="" edit-mode="yes"/>
|
||||
</$set>
|
||||
</$set>
|
||||
|
||||
Reference in New Issue
Block a user