Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 11.4.6 Update released for Drupal core (11.4.6)! Release: Drupal 10.6.16 Update released for Drupal core (10.6.16)! Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.10 Minor update available for module photoswipe (5.0.10). Release: Twig Tweak 4.0.0-alpha5 New alpha version released for module twig_tweak (4.0.0-alpha5). Release: UI Patterns (SDC in Drupal UI) 2.0.21 Minor update available for module ui_patterns (2.0.21). Release: MTCaptcha 11.1.0 Minor update available for module mtcaptcha (11.1.0). Release: Drupal LMS 1.2.2 Minor update available for module lms (1.2.2). Release: Media AV Portal 2.3.0 Minor update available for module media_avportal (2.3.0). Usage Milestone: Menu Condition Module menu_condition crossed 1,000 active installs. Module Revived: Profile Complete Percent 2.0.1 Module pcp updated after 12 months of inactivity (2.0.1).

AI CKEditor

284 sites Security covered Drupal 10–11

Part of the AI ecosystem · 297 projects

View on drupal.org

This module integrates AI-powered editing tools into CKEditor 5, allowing content editors to translate, summarize, correct spelling, change tone, and complete text using large language models at the cursor or on selected text. Editors can enable specific AI actions per text format and access them from the toolbar or a contextual balloon menu.

AI CKEditor integration adds a set of CKEditor 5 plugins that let content editors send the text they are working on to an LLM and act on the result, from translating and summarizing to fixing spelling, adjusting tone, and completing text. Editors reach the actions from a toolbar button or from a contextual balloon menu that appears when they select text.

Moved out of AI core

This integration used to ship inside the AI (Artificial Intelligence) module on the 1.4.x branch. It now lives in its own project, and development continues here.

Features

Each action is a separate plugin you enable per text format, so you decide which AI tools appear in a given editor.

Completion

Generate new text from a prompt and insert it at the cursor.

Modify with prompt

Select text and give a free-form instruction to rewrite it.

Tone

Rewrite the selection in a different tone, such as formal or friendly.

Translate

Translate the selected text into another language.

Summarize

Produce a shorter version of the selected content.

Spell fix

Correct spelling and grammar in the selection.

Reformat HTML cleans up the markup of the selected content, and a built-in Help plugin documents the available actions inside the editor.

Contextual balloon menu

Select text in the editor and a menu appears next to the selection with the AI actions you have enabled. The same plugins are available from the toolbar button and the balloon menu, so editors can work without leaving their place in the text.

Installation

  • Install with Composer: composer require drupal/ai_ckeditor
  • Enable the module.
  • Edit a text format at Administration > Configuration > Content authoring > Text formats and editors.
  • Drag the AI Tools button into the CKEditor 5 toolbar.
  • Choose which AI plugins to enable, and select an AI provider and model for each one.
  • Adjust the prompt for any plugin if you want; each ships with a sensible default.

More documentation

Full Documentation

Upgrading from the AI 1.4.x submodule

If you were using this integration as part of the AI module, upgrade the AI module to 1.5.0 and run the database updates (drush updb or /update.php). The update switches you over to this standalone module and keeps your existing configuration.

Set up a provider first

The AI actions call whichever provider you configure, so install and configure at least one AI provider module (for example OpenAI) before enabling the plugins.

Related Modules

Related Modules

Other modules that bring AI to CKEditor.

Modules Extending this

Modules Extending this

Add-ons that plug more AI actions into this module.

Requirements

Requires the AI (Artificial Intelligence) module and core's CKEditor 5. You also need at least one configured AI provider with a working API key for the actions to return results.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jul 2026
Latest release
1 day ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.5.0-beta1 Pre-release 10–11 Sep 2, 2026
1.4.2 Stable 10–11 Jul 22, 2026
1.4.1 Stable 10–11 Jul 22, 2026
1.4.0 Stable 10–11 Jul 21, 2026
1.x-dev Dev 10–11 Jul 21, 2026
1.5.x-dev Dev 10–11 Jul 21, 2026
1.4.x-dev Dev 10–11 Jul 21, 2026