AI CKEditor integration
What is the AI CKEditor integration module?
The AI CKEditor integration module provides a number of plugins that integrate with core's CK Editor 5 module. These plugins allow data to be passed to an LLM to allow it to make suggests about content, from translations to tone suggestions to text completion.
Dependencies
The AI Content Editing Tools requires the AI Core module to be installed and configured, and a valid AI Provider module to be enabled and configured.
Installation & configuration
- Enable the module
- Navigate to the page where you configure text formats and editors (/admin/config/content/formats) and choose one (example Basic HTML - Click on Configure).
- Drag the AI Stars ✨ widget into the Active toolbar.
- Under "CKEditor 5 plugin settings" there is now "AI tools"
- Configure each tool to your liking (Enable/Disable , choose the right model for you).
Plugin configuration
Some plugins require additional configuration to use.
Tone of Voice plugin
- Create a taxonomy "Tone of voice"
- In the taxonomy create some terms for the different tones (eg. Friendly / ELI5 / professional / ...)
- In the configuration of the ckeditor widget under "Choose vocabulary" choose your Taxonomy.
- If needed you can use "Use term description for tone description" if the tone of voice is elaborated in the description.
Translation plugin
- Create a taxonomy "Languages"
- In the taxonomy create some terms for the different languages
- In the configuration of the ckeditor widget under "Choose vocabulary" choose your Taxonomy.
Usage
When adding/editing content that uses CK Editor in its Text Form, you will see an "AI Tools" button on the CK editor toolbar. Pressing that will allow you to choose one of your configured plugins.