octo icon indicating copy to clipboard operation
octo copied to clipboard

Add a copy button to code blocks

Open davidmyersdev opened this issue 2 years ago • 7 comments

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

davidmyersdev avatar May 23 '22 20:05 davidmyersdev

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

hnasheralneam avatar Oct 27 '22 02:10 hnasheralneam

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

davidmyersdev avatar Oct 27 '22 14:10 davidmyersdev

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.

davidmyersdev avatar Nov 15 '22 04:11 davidmyersdev

Ok I’m working on it. Thanks for checking in!

hnasheralneam avatar Nov 15 '22 04:11 hnasheralneam

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

davidmyersdev avatar Nov 15 '22 23:11 davidmyersdev

I'm super sorry, I can't do this anymore. Thanks for giving me the chance. Good luck, I hope your project goes well!

On Tue, Nov 15, 2022 at 6:47 PM David R. Myers @.***> wrote:

Assigned #188 https://github.com/voracious/octo/issues/188 to @editorrust https://github.com/editorrust.

— Reply to this email directly, view it on GitHub https://github.com/voracious/octo/issues/188#event-7818493003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQJ3W4MIE53CT6I5NXOT7FTWIQOIDANCNFSM5WW6HWYQ . You are receiving this because you were assigned.Message ID: @.***>

hnasheralneam avatar Mar 01 '23 21:03 hnasheralneam

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

davidmyersdev avatar Mar 02 '23 01:03 davidmyersdev