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:
Jermolene
2018-08-15 13:50:29 +01:00
parent 763f8afaf2
commit f210b75a30
6 changed files with 32 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ title: $:/plugins/tiddlywiki/comments/comments-template
<div class="tc-comments">
<ol class="tc-comment-list">
<$list filter="[all[tiddlers+shadows]comment-target<currentTiddler>sort[created]!has[draft.of]]">
<$list filter="[all[tiddlers+shadows]role[comment]contains<currentTiddler>sort[created]!has[draft.of]]">
<li>
<div class="tc-comment-entry">
<div class="tc-comment-entry-heading">