Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

Creates and configures AI tools for content creators in CKEditor. Creators can generate, translate, summarize, and rewrite content with a dozen different included tones that can be easily expanded for more.

Features

  • Generation of content using AI.
  • Alteration of content in specific tones using AI.
  • Translation of content using user determined languages using AI.
  • Summary of selected text using AI.

Includes AI Tones and AI Languages taxonomies.

Installation

composer require drupal/saplings_ai_ckeditor_experience
cd web && php core/scripts/drupal recipe ../recipes/saplings_ai_ckeditor_experience

Configure OpenAI

While the AI module supports many AI services, this recipe is configure to use OpenAI.

  1. Create an API key at https://platform.openai.com
  2. Create a key file at private://keys/openai_provider.key. That is usually at [webroot]/sites/default/files/private/keys/openai_provider.key.
  3. Once you are ready to deploy, be sure to place that key in your cloud environments on the site's host. If you place it in the canonical environment, it will get cloned on subsequent multidev clones.

Usage

To use the configured AI tools, start by clicking the AI Assistant button in any Full HTML CKEditor instance.

Generate with AI

When you click the AI Assistant button > Generate with AI option, a modal pops up presenting:

What would you like to ask or get ideas for?

  • Enter your prompt to AI to help you write your content.

    Example: Write three paragraphs about Kanopi Studio's Saplings suite of Recipes.

  • After you have written your prompt, click the Generate button.

    You can click the button multiple times to get different responses from the AI source.

    After you click the Generate button, below the Response from AI field, you will see the AI Writer: Idle message switch to AI Writer: Waiting for response.

    Once the AI action has completed, it will switch back to Idle.

  • The response is saved in the Response from AI field.

    You can edit the response before saving it back to the main editor.

    When you are satisfied with the content, click the Save changes to editor button.

  • Be sure to click Save on your node/page to ensure your changes are saved.

Summarize

  • Select text in CKEditor.

  • Click the AI Assistant button, then select Summarize.

  • Click the Summarize button.

    After you click the Summarize button, below the Response from AI field, you will see the AI Writer: Idle message switch to AI Writer: Waiting for response.

    Once the AI action has completed, it will switch back to Idle.

  • The response is saved in the Response from AI field.

    You can edit the response before saving it back to the main editor.

    When you are satisfied with the content, click the Save changes to editor button.

  • Be sure to click Save on your node/page to ensure your changes are saved.

Tone

  • Select text in CKEditor.

  • Click the AI Assistant button, then select Tone.

  • Select the Tone you want to rewrite your content in, then click the Generate button.

    After you click the Generate button, below the Response from AI field, you will see the AI Writer: Idle message switch to AI Writer: Waiting for response.

    Once the AI action has completed, it will switch back to Idle.

  • The response is saved in the Response from AI field.

    You can edit the response before saving it back to the main editor.

    When you are satisfied with the content, click the Save changes to editor button.

  • Be sure to click Save on your node/page to ensure your changes are saved.

Translate

  • Select text in CKEditor.

  • Click the AI Assistant button, then select Translate.

  • Select or add the Language you want to rewrite your content in, then click the Translate button.

    After you click the Translate button, below the Response from AI field, you will see the AI Writer: Idle message switch to AI Writer: Waiting for response.

    Once the AI action has completed, it will switch back to Idle.

  • The response is saved in the Response from AI field.

    You can edit the response before saving it back to the main editor.

    When you are satisfied with the content, click the Save changes to editor button.

  • Be sure to click Save on your node/page to ensure your changes are saved.

Activity

Total releases
3
First release
Jun 2025
Latest release
9 months ago
Release cadence
8 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Jun 24, 2025
1.0.2 Stable Jun 8, 2025
1.0.x-dev Dev Jun 8, 2025