- Introduction
- Requirements
- Installation
- Configuration
A module that adds support for CKEditor Mentions plugin.
Install CKEditor plugins
-
With Composer (recommended)
- Add this installer
path to your
composer json file:
"{ROOT_PROJECT_DIRECTORY}/libraries/ckeditor/plugins/{$name}": ["vendor:ckeditor"],
- Add following repositories to composer.json
{ "type": "package", "package": { "name": "ckeditor/mentions", "version": "4.14.1", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/mentions/releases/mentions_4.14.1.zip", "type": "zip" } } }, { "type": "package", "package": { "name": "ckeditor/autocomplete", "version": "4.14.1", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/autocomplete/releases/autocomplete_4.14.1.zip", "type": "zip" } } }, { "type": "package", "package": { "name": "ckeditor/textmatch", "version": "4.14.1", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/textmatch/releases/textmatch_4.14.1.zip", "type": "zip" } } }, { "type": "package", "package": { "name": "ckeditor/textwatcher", "version": "4.14.1", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/textwatcher/releases/textwatcher_4.14.1.zip", "type": "zip" } } }, { "type": "package", "package": { "name": "ckeditor/ajax", "version": "4.14.1", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/ajax/releases/ajax_4.14.1.zip", "type": "zip" } } }, { "type": "package", "package": { "name": "ckeditor/xml", "version": "4.14.1", "type": "drupal-library", "dist": { "url": "https://download.ckeditor.com/xml/releases/xml_4.14.1.zip", "type": "zip" } } }
- Run
composer require ckeditor/mentions ckeditor/autocomplete ckeditor/textmatch ckeditor/textwatcher ckeditor/ajax ckeditor/xml
- Add this installer
path to your
composer json file:
-
Manually.
- Download the Full "dev" package for CKEditor.
- Unzip the package and place its contents into
DRUPAL_ROOT/libraries/ckeditor
. - Clear the cache
-
Manually.
- Download the following plugins:
- Unzip and place the contents for each plugin in the following directory:
DRUPAL_ROOT/libraries/ckeditor/plugins/PLUGIN_NAME
- Clear the cache
- Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-modules for further information.
- Go to the 'Text formats and editors' configuration page:
/admin/config/content/formats/manage/{format-id}
, and enable desired mentions type, in CKEditor plugin settings.