Open morajabi opened 9 months ago
There is already a 'PASTE_COMMAND' that gets fired upon the action, so you can define your handling of images (upload to S3, etc in there)
Edit: Realized it's lexical-ios, not sure if it applies here, but since 'PASTE_COMMAND' is part of the Lexical core, I'd assume this still applies, but haven't worked with this one.
@ivailop7 Nice, but still I don't get the option to paste when I tap on the lexical editor if I only have image in my pasteboard.
I see. Not familiar with the mechanics here. Sorry.
It would be awesome if we could allow use to paste an image (copied from Photos, Safari, etc) and we'd receive the event in a listener. I would like to initiate an image upload when user pastes an image. Is there any workaround for this?