niuware/mui-rte

ref without save()

saintego opened this issue · 1 comments

Checklist

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()

It works if I use dynamic import on component that use mui-rte and import mui-rte normally