Skip to main content

Plugin Manager

What it does

This plugin manages plugin listeners that are called by the same toolbar button. It ensures that the correct plugin will be called and therefore, the correct action will be performed. It is used to manage the indent/outdent buttons and accordingly the corresponding action of the list features plugin and the change element level plugin.

Installation

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

cd path/to/your/project

Then you can install the plugin as follows:

npm install @xeditor/plugin-pluginmanager --save --registry https://npm.xeditor.com:4873

Configuration

The demo configuration of the plugin looks like this:

{
pluginId: 'pluginmanager',
ptype: 'uxxeditorpluginmanager',
pluginIds: ['changeelementlevel', 'listfeatures']
}

This results in the changeelement level plugin as well as the list features plugin to be managed by the plugin manager plugin.

API

The API for the plugin can be found here.