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

Copy button on code snippets is broken #596

Open
talha131 opened this issue Mar 14, 2020 · 0 comments
Open

Copy button on code snippets is broken #596

talha131 opened this issue Mar 14, 2020 · 0 comments
Labels
bug Well, it shouldn’t be doing that. Let’s fix it!
Milestone

Comments

@talha131
Copy link
Member

Clicking on the copy button copies the contents of the code block. But it also adds the word "Copy" to the clipboard.

It happens because the button copies the parent node, which has "Copy" as the child.

@talha131 talha131 added the bug Well, it shouldn’t be doing that. Let’s fix it! label Mar 14, 2020
@talha131 talha131 added this to the 2020 - Q2 milestone Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Well, it shouldn’t be doing that. Let’s fix it!
Development

No branches or pull requests

1 participant