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

Removing toaster when overriding onCopy #101

Open
manulera opened this issue Aug 15, 2024 · 1 comment
Open

Removing toaster when overriding onCopy #101

manulera opened this issue Aug 15, 2024 · 1 comment

Comments

@manulera
Copy link
Contributor

Hi @tnrich,

How do you override the event that is triggered when the user copies a sequence from the editor?

I manage to override the event somewhat using the onCopy property of the editor (I can for instance print something to the console), but I don't see how to prevent the toasted message from showing up. Is that possible?

As usual, to reproduce:
https://ove-playground.netlify.app/

The code is in this component: https://github.com/manulera/ove_playground/blob/master/src/EditorComparison.jsx

@tnrich
Copy link
Collaborator

tnrich commented Aug 16, 2024

@manulera it doesn't appear to be possible to override this functionality at the moment:

image

Why do you want to hide the toastr message?

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

2 participants