drupal/drupal_cms_ai_ckeditor
最新稳定版本:1.0.1
Composer 安装命令:
composer require drupal/drupal_cms_ai_ckeditor
包简介
Adds AI integration to the CKEditor.
关键字:
README 文档
README
This recipe provides a seamless integration of AI-powered writing assistance directly within the CKEditor 5 toolbar for Drupal. It automates the installation and configuration of the AI CKEditor module, giving content creators tools for text generation, summarization, and formatting.
🚀 Overview
The AI CKEditor recipe enhances the standard editing experience by allowing users to interact with Large Language Models (LLMs) without leaving the content creation interface. It supports leading providers like OpenAI and Anthropic via the core AI module.
🛠 Requirements
Before installing this recipe, ensure the following:
- AI Module: Must be installed and configured.
- API Key: A valid API key from a supported provider (OpenAI, Anthropic, etc.) must be created and select at
/admin/config/ai/providersfor corresponding provider. - Chat: A default provider and model must be selected for operation type "Chat" here
/admin/config/ai/settings - Content Format: Make sure that format named "Content" with machine name
content_formatexists here/admin/config/content/formats. This format is usually installed with Drupal CMS recipe "Content Basics".
📦 What's Included?
Modules Installed
ai_ckeditor
Automatic Configuration
- Toolbar Integration: The AI button is automatically added to the "Content" text format.
- Permissions: The Content Editor role is granted the
use ai ckeditorpermission.
✨ Features
Enabled by Default
- Text Completion: Generate new content based on a text prompt.
- Summarize: Instantly create summaries of highlighted text.
- Reformat HTML: Clean up messy HTML tags and restructure code for consistency.
Optional Features
These can be enabled via Configuration > Content Authoring > Text formats and editors:
- Spellfix: Advanced AI grammar and spelling correction.
- Tone Adjustment: Change writing style (e.g., to Professional, Casual, or Concise).
- Translation: Multi-language content translation.
- Modify Prompt: Use custom instructions to transform selected text.
🔧 Installation & Post-Setup
- Apply the Recipe: Run the recipe via your preferred method (e.g., Composer or the Drupal UI).
- Configure Provider: Visit
/admin/config/ai/settingsto ensure your AI model is active. - Editor Setup: To toggle specific AI tools, edit the "Content" format at
/admin/config/content/formats.
📄 License
This project is licensed under the same terms as Drupal core (GPLv2 or later).
统计信息
- 总下载量: 186
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-02-04