megahertz / react-simple-wysiwyg

Simple and lightweight React WYSIWYG editor
https://megahertz.github.io/react-simple-wysiwyg/
MIT License
119 stars 21 forks source link

Intercept image paste #34

Closed masudhossain closed 6 months ago

masudhossain commented 6 months ago

Our users are pasting in images and they're often very large. We've been saving that to the state and it's been causing a lot of performance issues storing large base64 data.

Is there a way to intercept an image paste and get the base64? or even disable it.