Skip to content

Version 1.5

What it does

This plugin adds the functionality to create comments to Xeditor.

Installation

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 https://npm.xeditor.com:4873

Configuration

The demo configuration of the plugin looks like this:

{
    pluginId: 'comment',
    ptype: 'uxxeditorcomment'
}

API

The API can be found here: Comment Plugin 1.5

Buttons

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
button:xeditor.comment.next Selects next comment

Updating from Version 1.3

  • install new version using npm npm install --registry https://npm.xeditor.com:4873

Changelog

v1.5.0

Changes

  • Added GUID to comment PIs
  • Added config maxShownRows for setting a maximum of rows to be shown when comment collapse
  • Added showless/showmore button to comment

Bugfixes

  • Fixed bug line hides in comments/replys after pressing return in the textarea in FF