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

Add a copy button to code blocks #188

Open
4 tasks
davidmyersdev opened this issue May 23, 2022 · 7 comments
Open
4 tasks

Add a copy button to code blocks #188

davidmyersdev opened this issue May 23, 2022 · 7 comments

Comments

@davidmyersdev
Copy link
Owner

davidmyersdev commented May 23, 2022

Requirements

  • Each code block in a doc has its own copy button in the top-right corner (at the end of the opening line)
  • When tapped, all text on the lines between the opening and closing lines is copied
  • The copy button is configurable in editor settings (on/off) and is enabled by default
  • The user sees a toast (a small message) indicating whether the text was copied successfully
@hnasheralneam
Copy link

If you don’t mind could I work on implementing this?

@davidmyersdev
Copy link
Owner Author

Hey @Squirrel-314! Feel free to work on this. I'll add some requirements to the description above.

@davidmyersdev
Copy link
Owner Author

Hey @editorrust! I'm doing some organizing and prioritizing of work, and I just wanted to follow up on this issue to see if you were still interested in picking it up.

@hnasheralneam
Copy link

hnasheralneam commented Nov 15, 2022 via email

@davidmyersdev
Copy link
Owner Author

Thanks for following up so quickly! That's awesome to hear. Just let me know if there's anything I can do to help.

@hnasheralneam
Copy link

hnasheralneam commented Mar 1, 2023 via email

@davidmyersdev
Copy link
Owner Author

@editorrust no worries at all! I appreciate you following up on this!

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

No branches or pull requests

2 participants