RawXML Editor
What it does
This plugin adds Xeditors Raw XML editor to Xeditor. It can be used to directly edit plain XML within Xeditor and correct invalid documents since this is the only mode in which you can work with invalid XML. Please note that the XML has to be valid again when you want to return to the regular Xeditor UI.
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
Buttons
This plugin exports the following button templates that can be used in your toolbar configuration:
Name | Action |
---|---|
button:xeditor.raweditor | Opens raw editor |