Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for paste for the web backend. #1737

Open
Emm opened this issue Dec 20, 2023 · 1 comment
Open

Support for paste for the web backend. #1737

Emm opened this issue Dec 20, 2023 · 1 comment
Labels
consistency improve cohesiveness of features enhancement New feature or request html Related to the html crate

Comments

@Emm
Copy link

Emm commented Dec 20, 2023

Specific Demand

There is currently an onpaste handler. Unfortunately, the event itself appears to have no payload. It would be great to get a reference to the underlying DataTransfer or to a wrapper.

@ealmloff ealmloff added enhancement New feature or request html Related to the html crate labels Dec 20, 2023
@ealmloff
Copy link
Member

A platform agnostic wrapper around onpaste would be great. We could reuse FileEngine for the file section of the event and store a list of enums for the items in the paste event.

#1402 exposes the raw web-sys type for all events with a trait.

@jkelleyrtp jkelleyrtp added the consistency improve cohesiveness of features label Jul 26, 2024
@jkelleyrtp jkelleyrtp added this to the Low-Priority Backlog milestone Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consistency improve cohesiveness of features enhancement New feature or request html Related to the html crate
Projects
None yet
Development

No branches or pull requests

3 participants