sourceEditing plugin no longer gets enabled automatically in 1.1.x

Created on 2 June 2025, 2 days ago

Problem/Motivation

Issue 🐛 AI CKEditor requires the Source CKEditor button Active added logic to automatically enable the CKEditor5 'sourceEditing' plugin, in the response text textarea, since this is needed for the Completion plugin to work.

However, in branch 1.1.x most of the logic is still there, except the flag to enable this functionality on the response_text text_format form element. This seems to be missing, probably because this is now handled in the generic AiCKEditorPluginBase class.

Steps to reproduce

- Use AI module 1.1.x
- Enable the AI CKeditor module
- Enable the Completion ("Generate with AI") plugin
- Do NOT add the source code button to your CKEditor5 toolbar by default
- Try using the Completion plugin in your CKEditor5-powered text area - this will fail (as described in 🐛 AI CKEditor requires the Source CKEditor button Active ).

Proposed resolution

- Re-add the logic from 🐛 AI CKEditor requires the Source CKEditor button Active to active this for the Completion plugin.

🐛 Bug report
Status

Active

Version

1.1

Component

AI CKEditor

Created by

🇧🇪Belgium svendecabooter Gent

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024