Version 1.0
What it does
This plugins adds Xeditors raw XML editor to Xeditor. It can be used to correct invalid documents that got loaded, as well as to directly edit plain XML within Xeditor.
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-raweditor --save --registry https://npm.xeditor.com:4873
Configuration
The demo configuration of the plugin looks like this:
{
pluginId: 'raweditor',
ptype: 'uxxeditorraweditor',
aceBaseURL: '/ace',
validationURL: '//127.0.0.1:3000/editor/validate',
transformURL: '//127.0.0.1:3000/editor/transform'
}
API
The API for the plugin can be found here: raweditor plugin API
Buttons
This plugin exports the following button templates that can be used in your toolbar configuration:
Name | Action |
---|---|
button:xeditor.raweditor | Opens raw editor |
Changelog
v1.1.2
Bugfixes
- Added logic that apply button is disabled when editor opens up in read only mode
v1.1.1
Bugfixes
- Added bugfix to set
dirty
flag of xeditor after open the valid xml - Fixed Bug that sometimes prevented the document to be loaded after solving validation issues in raw editor
v1.1.0
Changes
- Added option
autoFormat
to enable formatting on transformation