Is your feature request related to a problem? Please describe.
In my app, if a user pastes a very large piece of text, we convert this into a text file and attach it instead of sending it as text in the composer.
Describe the solution you'd like
Support for an onPaste event for text like we do for onPasteImages. Ideally, we have one even with text and images props so we only need one callback.
Describe alternatives you've considered
Right now, we have a very hacky solution where we check the value inside onChangeHtml. I'm not sure if it even works, it was generated by Claude. 😅
Additional context
None at the moment.
Is your feature request related to a problem? Please describe.
In my app, if a user pastes a very large piece of text, we convert this into a text file and attach it instead of sending it as text in the composer.
Describe the solution you'd like
Support for an
onPasteevent for text like we do foronPasteImages. Ideally, we have one even withtextandimagesprops so we only need one callback.Describe alternatives you've considered
Right now, we have a very hacky solution where we check the value inside
onChangeHtml. I'm not sure if it even works, it was generated by Claude. 😅Additional context
None at the moment.