Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Adds in the Xml plugin for CKEditor.
This is required by plugins that need xml plugin to work, like Emoji.
Other plugins can leverage xml by adding this in their plugin definition:
class YourButtonPlugin extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface {
/**
* {@inheritdoc}
*/
public function getDependencies(Editor $editor) {
return ['xml'];
}
// more code...
Installation
- Download the plugin from http://ckeditor.com/addon/xml
- Place the plugin in the root libraries folder (/libraries).
- Enable Xml module in the Drupal admin.
Composer:
- Copy the following into your project's composer.json file.
- Ensure you have following mapping inside your composer.json.
- Run following command to download required library.
- Enable the Xml module.
"repositories": [
{
"type": "package",
"package": {
"name": "ckeditor-plugin/xml",
"version": "4.11.4",
"type": "drupal-library",
"dist": {
"url": "https://download.ckeditor.com/xml/releases/xml_4.11.4.zip",
"type": "zip"
}
}
}
]
"extra": {
"installer-paths": {
"web/libraries/{$name}": ["type:drupal-library"]
}
}
composer require ckeditor-plugin/xml
Supporting organizations:
Project information
- 1,429 sites report using this module
- Created by szloredan on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.