Skip to content

Version 1.3

What it does

This plugin will add the attributes panel to Xeditor. This panel is used for setting and reading attributes of elements within the selected XML tree.

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-attributeslist --save --registry https://npm.xeditor.com

Configuration

The default configuration of the plugin looks like this:

{
    pluginId: 'attributeslist',
    ptype: 'uxxeditorattributeslist'
}

It should be placed in your plugin configuration file (plugins.js as default).

API

The API for the plugin can be found here: attributes list plugin API

Changelog

v1.3.0

Changes

  • Dropdown attributes will now assume first value as default value if listAllAttributes is set to true

Bugfixes

  • Fixed issue causing attributes of non editable elements to be changeable
  • Fixed issue causing add attribute field to be enabled when editor is in read mode
  • Fixed issue casuing optional attributes wich are not set in the xml that have a default value to not be addable