Hello,
Is it possible to use this editor for the following;
If not, is there any other editors that work with ReactJS and could do this? My stack is NextJS + Material-UI + Hapi.
Many thanks... I did look through the awesome draft repo, but I couldnt determine where images went.
You need to write your own handler for image uploads or use some of the community plugins.
In reality, if you're looking for a more robust solution for a text editor, you should check out other packages, as this one is barely maintained and requires lots of configuration to make it work.
Check out https://www.draft-js-plugins.com/, they seem to have a plug-in for adding images. I haven't used them myself, but the Alignment + Resize + Focus + Drag'n'Drop + Drag'n'Drop Upload Example section sounds like what you need.
Hey @bonbonio. I made a quick plugin for draft-js called draft-js-aws-amplify-s3 that _may_ help you.
Hey @bonbonio. I made a quick plugin for
draft-jscalled draft-js-aws-amplify-s3 that _may_ help you.
I鈥檒l take a look this weekend! Awesome news though!
@bonbonio Great. It's super young so don't be _too_ harsh. :stuck_out_tongue_closed_eyes:
Most helpful comment
Hey @bonbonio. I made a quick plugin for
draft-jscalled draft-js-aws-amplify-s3 that _may_ help you.