-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Copy failing when text is null #154
Comments
just make it You can find similar bug report in closed bugs |
As the comment in the other issue already tells, I'd rather not copy an empty string if there is null, since clearing the clipboard isn't what I'm looking for there. |
Fixed at 7a5a910. Please use |
Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
suppose I have the following code:
with
The content of
clipboardText
is dynamically set depending on what is currently needed.Sometimes there is no link available, in which case I want to inform the user about that and run some other js stuff, prompting the user to provide a link.
However, due to the current check for text being set, when I return
null
it checks the same way as it would forundefined
or even an empty string.Is there currently any way to implement this feature?
The text was updated successfully, but these errors were encountered: