JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.71k stars 308 forks source link

Support for hinting/completion #713

Open matthiasg opened 3 years ago

matthiasg commented 3 years ago

I could not find a clear example of this, is there a way to provide hinting/completion with the output being either text or an embedded 'object' similar to https://summernote.org/examples/#hint ?

i,e we would require the most recent few words (at least the last few letters, including the position inside the content) plus an async callback function and ability to populate a drop down.

Similarily a way to underline/mark text (to indicate to a user that a drop down of actions is available at that position).

JiHong88 commented 3 years ago

When implementing the mention feature, I will implement it together. It will be added after version 3.0.0.

matthiasg commented 3 years ago

Will keep an eye on it thanks

novikov1337danil commented 2 years ago

Were you able to implement this feature?