react-rte icon indicating copy to clipboard operation
react-rte copied to clipboard

Not working on JSX

Open allestaire opened this issue 3 years ago • 0 comments

Description

  • The package is not working on JSX but upon reading the documentation there is Example with ES5 and no JSX which shows how to work it with JSX but there are no other example on how to implement it within the project its just like giving us how to implement but not giving us how to use it.

NOTE: Im not totally expert on ReactJS thats why its a question on how that code should work.

Currently Im having this error Screen Shot 2022-10-09 at 10 40 42 AM

import RichTextEditor from 'react-rte';

...
<RichTextEditor
 toolbarConfig={toolbarConfig}
 value={value}
 onChange={handleChange}
/>

allestaire avatar Oct 09 '22 02:10 allestaire