niuware / mui-rte

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

LinkPopover achorEl issue on multiple RTE #265

Open Aaronmc09 opened 3 years ago

Aaronmc09 commented 3 years ago

Checklist

Description

When rendering multiple RTEs in one screen. The linkPopover is always anchored to the very first rendered RTE link-control button.

hamdi-karim commented 2 years ago

The same happened to me

paguerrie commented 2 months ago

I just came across this same thing. You need to pass a unique id to the MUIRichTextEditor component. This will anchor the popover in the correct spot.