Skip to content

Version 1.2

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.2.1

Bugfixes

  • Fields are only updated if they are not focussed
  • Fixed parsing/creation of date/time attribute fields
  • Fixed issue causing attributes to be incorrectly set when having listAllAttributes set to true and resetting the value of an attribute

v1.2.0

Changes

  • Added updateState statements on attribute actions
  • Added new configuration option listAllAttributes. When set to true, all attributes will be displayed in attributes panel, even if they are empty
  • Added new configuration option hideReadOnlyAttributes. When set to true, attributes that are set to read only will not be added to the attributes panel (only takes effect when listAllAttributes is set to true)
  • Added new property attributesConfigButtonClass with value of 'xe-attributes-config-button' which will be set on fields of required attributes