ref without save()
saintego opened this issue · 1 comments
saintego commented
Checklist
- This is not covered in the repository examples.
- I am using the package latest version.
- This is a bug report or an enhancement proposal.
Description
Ref save() is not there while using dynamic import in next.js. I'm getting error Uncaught TypeError: _ref$current.save is not a function at handleClick...
using https://github.com/niuware/mui-rte/blob/master/examples/ref-save/index.tsx
ref
contains only retry()
saintego commented
It works if I use dynamic import on component that use mui-rte and import mui-rte normally