Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

CKEditor5 Mentions

No security coverage Under active development 72 sites

This module adds a "mentions" feature to CKEditor 5. It allows users to type a special character, like "@," to trigger an autocomplete suggestion list, making it easier to reference items within your content.

CKEditor 5 Mentions module for Drupal 9/10 that provides a mention feature enables smart autocompletion based on user input. When you type a pre-configured marker, such as @ or #, a panel displays with autocomplete suggestions.

You can type the “@” character to invoke the mention autocomplete UI. The demo below is configured to suggest a static list of names (“Barney”, “Lily”, “Marry Ann”, “Marshall”, “Robin”, and “Ted”).

Providing the feed

The feed can be provided as:

  • A static array – Good for scenarios with a relatively small set of autocomplete items.
  • A callback – It provides more control over the returned list of items.

When using a callback you can return a Promise that resolves with the list of matching feed items. These can be simple strings or plain objects with at least the name property. The other properties of this object can later be used e.g. when customizing the autocomplete list or customizing the output.

For a full description of the module, visit the
project page.

Submit bug reports and feature suggestions, or track changes in the
issue queue.

CKEditor 5 Mentions Module

The CKEditor 5 Mentions module: project page

Online documentation: CKEditor 5 Mentions

Status 🚧

The module is currently under active development. Have questions about the status, roadmap or would you like to use it in your project? Contact us: ckeditor

Reporting issues: issue queue

Installation:

Install as you would normally install a contributed Drupal module. For further
information, see
Installing Drupal Modules.

Using composer:

composer require drupal/ckeditor5_mentions

Requirements

PHP >= 8.1

Drupal >= 9.4 || 10

Configuration

Go to /admin/config/content/mention-feed to add/edit Mention Feeds where we can configure Marker, autocomplete Entity type and other configurations. Go to /admin/config/content/formats, and configure Text editor with CKeditor5 and enable the required feed items from Mentions Configuration. Online documentation: CKEditor 5 Premium Features

Uninstallation

Using composer:

composer require remove/ckeditor5_mentions

License

Licensed under the terms of GNU General Public License Version 2 or later.

Drupal 9–11

Ask your assistant about CKEditor5 Mentions

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0 Stable 9–11 Jan 24, 2025
2.0.x-dev Dev 9–11 Jan 24, 2025
1.1.0 Stable 9–10 Apr 6, 2023