Version 1.1

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

Bugfixes

  • When config useLabel is set to true, label will now be used for all attribute names
  • Default value of useLabel was corrected to be true in both plugin and panel class

v1.1.1

Bugfixes

  • Added xmlName to new attribute box
  • Fixed the active element of navigaion
  • Added fix preventing attributes that are set to be read only to be removable
  • Fixed issue when adding attributes using a default value causing the attribute fields to not properly be build

v1.1.0

Changes

  • Adjusted attribute handling so that panel will automatically update itself when attributes got changed by API calls (e.g. custom code using element.setAttribute)

Bugfixes

  • Removed port from NPM registry in .npmrc file
  • Fixed adding of attributes causing default attributes to now be properly displayed