- Issue created by @wfraga
When configuring the CKEditor integration in the AI module (example in /admin/config/content/formats/manage/full_html), the following browser console error appears if no provider is installed:
The invalid form control with name='editor[settings][plugins][ai_ckeditor_ai][plugins][ai_ckeditor_spellfix][provider]' is not focusable.
This error suggests that the form expects a provider configuration even if none has been installed yet. It breaks the form experience and may confuse users.
Additionally, when installing a provider such as the OpenAI Provider, the error disappears. However, using the Free Tier of OpenAI, the AI button is added to the CKEditor toolbar, but it does not appear when editing content. There is no feedback or warning about this limitation, which may lead users to believe that the integration is broken.
Improve validation and conditionally display or hide fields when no provider is available.
Provide a clear warning message if no provider is configured, explaining the impact.
Detect Free Tier limitations and inform the user that the AI button might not work or be displayed properly under such constraints.
Error or warning message in the CKEditor configuration UI when no provider is available.
Active
1.0
AI CKEditor