---
title: "Commenting & collaboration"
description: "The Comments plugin provides the ability to add comments to the content and collaborate with other users for content editing."
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/introduction-to-tiny-comments/"
md_url: "https://www.tiny.cloud/docs/tinymce/5/introduction-to-tiny-comments/index.md"
version: "5"
last_updated: "2026-06-15T08:52:18Z"
tokens: 474
---
Important This page documents TinyMCE 5. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/introduction-to-tiny-comments/).
# Commenting & collaboration

The Comments plugin provides an ability to start or join a conversation by adding comments to the content within the TinyMCE editor.

Users can now add comments to their text from within their TinyMCE editor for collaboration, review, and providing feedback.

## Collaborate on your projects within your content

The Comments plugin offers the following primary functionality:

- A **user interface** to collaborate on content by creating and replying to comments.
- A way to control the delete operation on a comment/comment thread if you want to remove it from your content.

## Primary Comments Functions

The Comments plugin allows the user to perform the following functions:

- Create a comment
- Reply to a comment
- Delete a comment/comment thread
- Lookup a comment
- Edit a comment

## Try our Comments plugin demo

**Example**

```js
var currentAuthor = 'A Tiny User';
var userAllowedToResolve = 'Admin1';

tinymce.init({
  selector: 'textarea#comments-embedded',
  toolbar: 'bold italic underline | addcomment showcomments',
  menubar: 'file edit view insert format tools tc',
  menu: {
    tc: {
      title: 'Comments',
      items: 'addcomment showcomments deleteallconversations'
    }
  },
  plugins: 'paste code tinycomments',
  tinycomments_mode: 'embedded',
  tinycomments_author: currentAuthor,
  tinycomments_can_resolve: function (req, done, fail) {
    var allowed = req.comments.length > 0 &&
                  req.comments[0].author === currentAuthor;
    done({
      canResolve: allowed || currentAuthor === userAllowedToResolve
    });
  },
  content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }',
  /* The following setup callback opens the comments sidebar when the editor loads */
  setup: function (editor) {
    editor.on('SkinLoaded', function () {
      editor.execCommand("ToggleSidebar", false, "showcomments", { skip_focus: true });
    })
  }
});
```
