I'm struggling making entities style work the way I would like to using draft-js. I'm adding styled entities to my input by selecting items in an autocomplete component. When I select one, it works, but the caret stays inside the entity until i add another character. Is there a way to move the caret after the actual entity without adding a space ?
I am using a library called draft-js-autocomplete
, I don't mind making a pull request if necessary.
To illustrate: