Closed TKharaishvili closed 1 year ago
I think this is as easy as passing the index of an item to the render
function. The render function will then test if the index is equal to 0 and add the active
class to the li
if it is.
I can send you a PR if you like this solution.
Closing due to no response
Looks like this has already been requested here - https://github.com/StevenDevooght/tinyMCE-mention/issues/55
I would like to have a boolean flag to enable this, it's especially useful when the user is filtering through the items and there's only one left to select.