Skip to content

Version 1.2

What it does

This plugin adds the functionality to create comments to Xeditor.


First you have to switch into your project location using the command line.

cd path/to/your/project

Now you should be in the same directory as the package.json file. Then you can install the plugin as follows:

npm install @xeditor/plugin-comment --save --registry


The demo configuration of the plugin looks like this:

    pluginId: 'comment',
    ptype: 'uxxeditorcomment'


The API can be found here: Comment Plugin 1.2


This plugin exports the following button templates that can be used in your toolbar configuration:

Name Function
button:xeditor.comment Creates new comment
button:xeditor.comment.previous Selects previous comment Selects next comment

Updating from Version 1.1

  • install new version using npm npm install --registry




  • Bugfix to update comment befor render
  • Changed comment reviewbar template edit toggle function to hide reply fields as long as comment is not saved


  • Added events for comment functionality, including creation of comments, reply to comments, deletion of comments (see API for full list of events)
  • Added flags for disabling/enabling buttons of comment entries (Edit, Delete, Reply)
  • Added methods for enabling/disabling buttons of comment entries