Skip to content

Commit 2c87335

Browse files
authored
DOC-2548: Add live-demo links to Intoduction to Tiny Comments page. (#3472)
1 parent 2bf2c71 commit 2c87335

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

modules/ROOT/pages/comments-callback-mode.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ During the initial editor load, the {pluginname} uses `+tinycomments_fetch+` cal
2424

2525
When a user adds a comment or a reply, the {pluginname} plugin uses the `+tinycomments_lookup+` callback to retrieve the selected conversation.
2626

27+
[[comments-callback-live-demo]]
2728
== Interactive example
2829

2930
The following example uses a simulated server (provided by link:https://netflix.github.io/pollyjs/[Polly.js]), which has been hidden from the example JavaScript to keep the example code concise. The interactions between {productname} and Polly.js are visible in the browser console.

modules/ROOT/pages/comments-embedded-mode.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tinymce.init({
2323

2424
This is the minimum recommended setup for the {pluginname} plugin in embedded mode. If the `+tinycomments_author+` and `+tinycomments_author_name+` options are not configured, all users will be assigned the name "_ANON_".
2525

26+
[[comments-embedded-live-demo]]
2627
== Interactive example
2728

2829
liveDemo::comments-embedded[]

modules/ROOT/pages/introduction-to-tiny-comments.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ include::partial$misc/admon-premium-plugin.adoc[]
1919

2020
The {pluginname} plugin allows users to initiate and engage in conversations by adding comments directly within the {productname} editor. It also supports viewing all comments in a document for efficient collaboration.
2121

22+
=== Interactive examples
23+
24+
For interactive live demos for the {pluginname} plugin, showcasing both callback and embedded modes, see:
25+
26+
* xref:comments-callback-mode.adoc#comments-callback-live-demo[Callback mode] Demo
27+
* xref:comments-embedded-mode.adoc#comments-embedded-live-demo[Embedded mode] Demo
28+
2229
=== Collaborate seamlessly within your content
2330

2431
With the {pluginname} plugin, users can:

0 commit comments

Comments
 (0)