ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
8.32k stars 3.6k forks source link

Create a common base feature for mentions, merge tags and slash commands #16313

Open Dumluregn opened 3 weeks ago

Dumluregn commented 3 weeks ago

📝 Provide a description of the new feature

Currently implementing the mentions-like insertion requires hacking the mentions feature (e.g. overriding the mention command execution). There should be a common base feature, which would be used by the more specialized ones according to their needs. Such an approach was used in CKE4 (the mentions plugin was built on top of the autocomplete one: https://github.com/ckeditor/ckeditor4/blob/master/plugins/mentions/plugin.js#L18-L33).

The component should detect conflicting patterns (e.g. { and {{).


If you'd like to see this feature implemented, add a 👍 reaction to this post.