niuware / mui-rte

Material-UI Rich Text Editor and Viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

MrRainesE opened this issue · comments

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