Ckeditor5: Open utils used by the mention feature

Created on 5 Apr 2019  路  1Comment  路  Source: ckeditor/ckeditor5

The initial plan for https://github.com/ckeditor/ckeditor5-mention was that it's going to be a concrete implementation of "autocompletion" while we still planned to work on opening the tools needs to build your own autocompletion features.

The mention feature is sufficient for things like inserting @mentions or #hastags. It also implements specific behaviour of the mention item in the editor (e.g. removing the mention if someone modifies its text). It's fairly configurable, however, it does not allow some customizations:

  • What kind of markup is inserted into the editor. You can only configure how a mention is output in the data, but you cannot force the mention feature to insert e.g. a placeholder widget.
  • Where the autocompletion panel is shown.
  • What happens during autocompleting (how the panel behaves, what's in the editor).

Example features which will be possible to develop with those tools:

  • completing placeholders (see CKEditor 4's https://ckeditor.com/docs/ckeditor4/latest/examples/autocomplete.html)
  • completing emojis
  • Slack-like autocompletion panel (above/below the text area)

Add 馃憤 to this comment if you would like to see this feature implemented.

feature improvement

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oleq picture oleq  路  3Comments

msamsel picture msamsel  路  3Comments

Reinmar picture Reinmar  路  3Comments

wwalc picture wwalc  路  3Comments

PaulParker picture PaulParker  路  3Comments