Problem/Motivation
Since Drupal 11.1.2 it is possible to use the recipe input variables in config actions for config entities: https://www.drupal.org/node/3470507 (at the bottom of the page).
Steps to reproduce
At the moment the editor config entity machine name is hardcoded, but it can be changed to recipe input and then it can be used in Drupal CMS and for any Drupal installation that has editor.
Proposed resolution
Add a recipe input with choice selection of editors textfield for typing in the machine name of the editor for which the AI features should be added.
UPDATE: I wanted to explain the stroked out part in "Proposed resolution". It is not possible yet to have a dynamic list of choices in the recipe input. That is why it is only possible to have a textfield input for now. The recipe still has the default value for Drupal CMS, but it is possible to change it for any other editor that you want to update with AI functionality. Recipe input works in CLI as well as with admin UI (Package manager module is required for this).
Issue fork drupal_cms_ai_ckeditor-3581270
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
a.dmitriiev commentedComment #4
a.dmitriiev commentedComment #5
a.dmitriiev commentedComment #6
a.dmitriiev commentedBe aware that for testing you need Drupal version 11.1.2 or higher, as the input in config names was introduced there.
Comment #7
robloachI can review, thanks.
Comment #8
robloachThanks muchly!
Comment #9
robloachMerged.