niuware / mui-rte

Material-UI Rich Text Editor and Viewer
MIT License
437 stars 168 forks source link

Autocomplete Atomic inserts the atomic component in a new line and then moves the cursor also to a new line #318

Open yuklai opened 2 years ago

yuklai commented 2 years ago

Checklist

Description

In the "Autocomplete Atomic" example, once a custom component is installed (and you can use the provided example, with "/mexico". The insert happens on a new line and the cursor moves to the next line automatically. Any suggestion on why that would happen (and to avoid it)?

image