niuware / mui-rte

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

How to add an external value at the cursor position in the editor #327

Open MrRainesE opened 1 year ago

MrRainesE commented 1 year ago

Checklist

Description

I want to be able to add an external value at the cursor position in the editor. F.E. if a user click on a chip the value of the chip should be added at the cursor location in the editor. just like you can accomplish with the autocomplete function image

codesanbox link: https://codesandbox.io/s/mui-rte-basic-forked-eozd2h?file=/src/index.js