Open prateek3255 opened 2 years ago
Unfortunately. I have almost no time to work on this library and I will be focusing on version 12 now, and it still doesn't support file uploads.
I quickly looked at your problem and it seems that, at least by uploading from the clipboard, the File
objects seem to have different sizes. The preview is obviously the same because we are always yielding https://picsum.photos/300
When trying to upload multiple images the saveImage method returns the first image all the times. Here is a reproducible sandbox with v11.5.0 for it:
https://codesandbox.io/s/react-mde-latest-forked-lzhlxq?file=/src/index.js
To reproduce: