Skip to content

Commit e2a4425

Browse files
committed
DOC-2558: Fix some broken mentions
1 parent 550f372 commit e2a4425

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/ROOT/examples/live-demos/comments-callback-with-mentions/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h2>Welcome to Tiny Comments!</h2>
77
<li>Type your comment into the text field at the bottom of the Comment sidebar, and use <code>@</code> followed by a name to mention a collaborator.</li>
88
<li>Click <strong>Comment</strong>.</li>
99
</ol>
10-
<p>Your comment is <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_420304606321716900864126" data-mce-annotation="tinycomments">then</span> attached to the text, <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_19679600221621399703915" data-mce-annotation="tinycomments">exactly like this!</span> You can <span class="mymention" style="color: #1b1; background-color: #eee;" data-mention-id="juliecasper" data-mce-mentions-id="juliecasper">@Julie Casper</span> directly in your comments to notify them.</p>
10+
<p>Your comment is <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_420304606321716900864126" data-mce-annotation="tinycomments">then</span> attached to the text, <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_19679600221621399703915" data-mce-annotation="tinycomments">exactly like this!</span> You can <span class="mymention" style="color: #1b1; background-color: #eee;" data-mention-id="jennynichols" data-mce-mentions-id="jennynichols">@Jenny Nichols</span> directly in your comments to notify them.</p>
1111
<p>If you want to take Tiny Comments for a test drive in your own environment, Tiny Comments is one of the premium plugins you can try for free for 14 days by signing up for a Tiny account. Make sure to check out our documentation as well.</p>
1212
<h2>A simple table to play with</h2>
1313
<table style="border-collapse: collapse; width: 100%;" border="1">

modules/ROOT/examples/live-demos/comments-callback-with-mentions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ import ('https://cdn.jsdelivr.net/npm/@faker-js/faker@9/dist/index.min.js').then
264264
};
265265

266266
const tinycomments_delete_all = (req, done) => {
267-
Object.keys(conversationDb).each((k) => {
267+
Object.keys(conversationDb).forEach((k) => {
268268
delete conversationDb[k];
269269
});
270270

modules/ROOT/examples/live-demos/comments-embedded-with-mentions/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2>Welcome to Tiny Comments!</h2>
88
<li>Type your comment into the text field at the bottom of the Comment sidebar, and use <code>@</code> followed by a name to mention a collaborator.</li>
99
<li>Click <strong>Comment</strong>.</li>
1010
</ol>
11-
<p>Your comment is <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_420304606321716900864126" data-mce-annotation="tinycomments">then</span> attached to the text, <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_19679600221621399703915" data-mce-annotation="tinycomments">exactly like this!</span> You can <span class="mymention" style="color: #1b1; background-color: #eee;" data-mention-id="juliecasper" data-mce-mentions-id="juliecasper">@Julie Casper</span> directly in your comments to notify them.</p>
11+
<p>Your comment is <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_420304606321716900864126" data-mce-annotation="tinycomments">then</span> attached to the text, <span class="mce-annotation tox-comment" data-mce-annotation-uid="mce-conversation_19679600221621399703915" data-mce-annotation="tinycomments">exactly like this!</span> You can <span class="mymention" style="color: #1b1; background-color: #eee;" data-mention-id="jennynichols" data-mce-mentions-id="jennynichols">@Jenny Nichols</span> directly in your comments to notify them.</p>
1212
<p>If you want to take Tiny Comments for a test drive in your own environment, Tiny Comments is one of the premium plugins you can try for free for 14 days by signing up for a Tiny account. Make sure to check out our documentation as well.</p>
1313
<h2>A simple table to play with</h2>
1414
<table style="border-collapse: collapse; width: 100%;" border="1">

0 commit comments

Comments
 (0)