This project is not covered by Drupal’s security advisory policy.
Adds in the Textwatcher plugin for CKEditor.
This is required by plugins that need textwatcher plugin to work, like Autocomplete.
Other plugins can leverage textwatcher by adding this in their plugin definition:
class YourButtonPlugin extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface {
/**
* {@inheritdoc}
*/
public function getDependencies(Editor $editor) {
return ['textwatcher'];
}
// more code...
Installation
- Download the plugin from http://ckeditor.com/addon/textwatcher
- Place the plugin in the root libraries folder (/libraries).
- Enable Textwatcher 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 Textwatcher module.
"repositories": [
{
"type": "package",
"package": {
"name": "ckeditor-plugin/textwatcher",
"version": "4.11.4",
"type": "drupal-library",
"dist": {
"url": "https://download.ckeditor.com/textwatcher/releases/textwatcher_4.11.4.zip",
"type": "zip"
}
}
}
]
"extra": {
"installer-paths": {
"web/libraries/{$name}": ["type:drupal-library"]
}
}
composer require ckeditor-plugin/textwatcher
Supporting organizations:
Project information
- Project categories: Content display, Content editing experience, Developer tools
- Ecosystem: CKEditor 4 - WYSIWYG HTML editor
216 sites report using this module
- Created by szloredan on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
