Browse Source

comments 2 demo

pull/944/head
shikha 7 years ago
parent
commit
493d50520e
  1. 1
      _data/nav.yml
  2. 32
      _includes/codepens/comments-2/index.html
  3. 14
      _includes/codepens/comments-2/index.js
  4. 0
      _includes/codepens/comments-2/style.css
  5. 18
      demo/comments-2.md
  6. 7
      enterprise/tiny-comments.md
  7. 2
      plugins/comments.md

1
_data/nav.yml

@ -30,6 +30,7 @@
- url: "whats-new"
- url: "basic-example"
- url: "full-featured"
- url: "comments-2"
- url: "pageembed"
- url: "permanentpen"
- url: "formatpainter"

32
_includes/codepens/comments-2/index.html

@ -0,0 +1,32 @@
<div id="tiny-ui">
<textarea class="editor" style="width: 100%; height: 300px;">
<h1>Welcome to Tiny Comments!</h1>
<p>Please try out this demo of our new Tiny Comments premium plugin. Just highlight the content you want to add a comment to, click the Comment icon in the toolbar, type your comment into the text field at the bottom of the Comment sidebar, and click ‘Start’. Your comment is then attached to the text, <span class="mce-annotation" data-mce-annotation-uid="96pewyxd0h5" data-mce-annotation="tinycomments">exactly like this!</span></p>
<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 30 days by signing up for a Tiny account. Make sure to check out our documentation as well.</p>
<p>And if you are ready to buy, you can either purchase Tiny Comments a la carte or as part of your Tiny Pro subscription. If you are a current cloud user, Tiny Comments has already been added to your key, and if you are a self-hosted user, Tiny Comments is now available in the latest download which you can access in My Account.</p>
<h2>A simple table to play with</h2>
<table style="text-align: center;">
<thead>
<tr>
<th>Product</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://www.tinymce.com">Tiny Cloud</a></td>
<td>The easiest and most reliable way to integrate powerful rich text editing into your application.</td>
</tr>
<tr>
<td><a href="https://www.tiny.cloud/tinydrive/">Tiny Drive</a></td>
<td>Image and file management for TinyMCE in the cloud.</td>
</tr>
</tbody>
</table>
<p>Thanks for supporting TinyMCE! We hope it helps your users create great content.</p>
</textarea>
</div>

14
_includes/codepens/comments-2/index.js

@ -0,0 +1,14 @@
tinymce.init({
selector: '#tiny-ui .editor',
toolbar: 'bold italic underline | addcomment',
menubar: 'file edit view insert format tools tc',
menu: {
tc: {
title: 'TinyComments',
items: 'addcomment showcomments deleteallconversations'
}
},
plugins: 'paste tinycomments',
tinycomments_mode: 'embedded',
tinycomments_author: 'Author'
});

0
_includes/codepens/comments-2/style.css

18
demo/comments-2.md

@ -0,0 +1,18 @@
---
layout: default
title: Comments 2.0 Demo
title_nav: Comments 2.0
description: Tiny Comments provides the ability to add comments to the content and collaborate with other users for content editing.
keywords: comments commenting tinycomments
controls: toolbar button
---
## Live example
This example displays how to add the ability to start or join a conversation by adding comments to the content within the TinyMCE editor.
In this example, the features in Comments 2.0 are highlighted, including adding a comment, replying to a comment, and deleting a comment.
For more information on the other Comments 2.0 configuration options, see the [docs]({{ site.baseurl }}/plugins/comments/).
{% include codepen.html id="comments-2" %}

7
enterprise/tiny-comments.md

@ -40,10 +40,5 @@ We provide a working example for integrating the TinyMCE plugin into your site.
Start with the [pricing](https://www.tiny.cloud/pricing/) page to see our flexible pricing options. Enterprise customers should [contact sales directly](https://www.tinymce.com/pricing/).
<!--Still not sure? Check out the demo below.
Still not sure? Check out the [demo]({{site.baseurl}}/demo/comments-2/) that displays the features in Comments 2.0.
## Comments 2.0 Demo
In this example, the features in Comments 2.0 are highlighted, including adding a comment, replying to a comment, and deleting a comment. For more information on the other Comments 2.0 configuration options, see the [docs]({{ site.baseurl }}/plugins/comments/comments_2.0).
[Demo coming soon!]-->

2
plugins/comments.md

@ -160,4 +160,4 @@ Follow this procedure to delete all conversations in the document:
**Result**: All the comments for the selected document will be deleted.
Check out the [Comments demo]({{site.baseurl}}/enterprise/tiny-comments/#tinycomments20demo) to try out this new feature.
Check out the [Comments demo]({{site.baseurl}}/demo/comments-2) to try this new feature.
Loading…
Cancel
Save