Skip to content

[Feature request] onPaste event #514

@alizahid

Description

@alizahid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions