Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Browser AI CKEditor

1 sites No security coverage Drupal 10–11
View on drupal.org

This module integrates local, AI-powered toolbar buttons directly into CKEditor 5 using Chrome's experimental built-in Gemini Nano APIs. It offers features like rewriting, summarizing, proofreading, and content generation without requiring external API keys or subscriptions, as processing happens on-device within the user's browser.

Integrate Chrome's built-in AI APIs directly into CKEditor 5. This module provides local, AI-powered toolbar buttons for rewriting, summarizing, proofreading, and content generation without external API keys.

Features

This module leverages the experimental AI capabilities built directly into Google Chrome (Gemini Nano), allowing for on-device AI processing. This means no API keys, no monthly subscription costs, and improved privacy as data is processed locally in the browser.

Key Functionality:

  • AI Rewrite: Rewrites selected text to improve clarity, tone, and style.
  • AI Summarize: Condenses long passages of selected text into concise summaries.
  • AI Proofread: automatically detects and corrects grammar, spelling, and punctuation errors.
  • AI Write for Me: Generates new content based on a simple topic or prompt you provide.

Post-Installation

Once the module is installed, you need to add the buttons to your editor:

  1. Navigate to Administration > Configuration > Content authoring > Text formats and editors.
  2. Configure the text format you wish to use (e.g., Full HTML).
  3. Ensure you are using CKEditor 5.
  4. Drag the AI toolbar buttons (Rewrite, Summarize, Proofread, Write for Me) from the Available buttons list to the Active toolbar.
  5. Save the configuration.

How to use:

  • For Rewrite/Summarize/Proofread: Select text in the editor and click the corresponding button.
  • For Write for Me: Place your cursor where you want text, click the button, enter a prompt, and click "Generate."

Additional Requirements

Critical: Browser Requirements This module relies on experimental features found only in Google Chrome (version 128+). It will not work in Firefox, Safari, or Edge. If a user accesses the editor in an unsupported browser, the buttons will be disabled, but the editor will function normally.

Enabling Chrome AI Flags: You must manually enable the AI APIs in your Chrome browser for this module to function:

  1. Open Chrome and navigate to chrome://flags
  2. Search for and enable the following flags:
    • #optimization-guide-on-device-model → Set to "Enabled BypassPerfRequirement"
    • #prompt-api-for-gemini-nano → Set to "Enabled"
    • #summarization-api-for-gemini-nano → Set to "Enabled"
    • #writer-api-for-gemini-nano → Set to "Enabled"
    • #rewriter-api-for-gemini-nano → Set to "Enabled"
  3. Restart Chrome completely.

Similar projects

Most other AI modules for Drupal (such as the generic OpenAI module) require a paid subscription to an external service (like OpenAI or Anthropic) and require sending your data to a remote server.

Browser AI CKEditor differentiates itself by using the User's Browser to do the work. It is free to use and runs "on-device."

Troubleshooting

  • Buttons are greyed out/disabled: Ensure you are using Chrome 128+ and have restarted the browser after enabling the specific flags listed in "Additional Requirements."
  • AI operations fail: The first time you use a feature, Chrome may need to download the AI model. Ensure you have an internet connection and sufficient disk space. Check chrome://on-device-translation-internals/ for model status.

Maintainers

Depends on

Dependencies of the latest stable release

  • ckeditor5 Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2025
Latest release
8 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Dec 2, 2025