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

Returning a string from the 'paste.beforeCleanup' event is being ignored #223

Open
anrolmar opened this issue May 4, 2023 · 0 comments
Open

Comments

@anrolmar
Copy link

anrolmar commented May 4, 2023

Hi, everyone.

When I try to return a string on the onPasteBeforeCleanup event, the string is being ignored. This is my code:

async onPasteBeforeCleanup(clipboard_html: string) { return 'my content' },

but the paste content is the content I copied on clipboard.

I saw you fixed this on version 4.0.14.

I'm using the version 4.0.18.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant