- Issue created by @jurriaanroelofs
I'm just posting this to get feedback, my CKEditor API skills at this point are not good enough to create an implementation plan and develop it but I hope more people are excited to collaborate on this and take the CKEditor AI module to the next level.
I consider this feature a great low hanging fruit thanks to LLM's HTML capabilities. I imagine the CKEditor 5 Slash commands premium plugin was a large amount of work to develop, with all these custom plugins for individual elements. With LLM we get all those elements and more out of the box.
The current selectbox implementation is useful but it is not the most efficient UI. Using commands in a text editor is already becoming an accepted UI pattern, for example it is used in:
Last but not least, it is a great win for accessibility of the module. I think the current implementation is not great for keyboard-only users, and they will surely love this addition.
Having slash commands as a secondary interface option that leverages the existing plugin system.
Some example commands:
etc.
1. Create the command, we can see how the CKEditor premium plugin manages this and then develop our own connection to the AI ecosystem.
2. The Drupal integration part is going to be complex, that's not low-hanging fruit and needs more refined user stories and implementation plans.
Addition of command interface to the editor
An additional layer to expose commands that auto-complete. Like typing /link might summon a plugin that autocompletes internal linking commands.
Active
1.0
User interface