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 copy to clipboard button to code blocks #829

Open
aaronshekey opened this issue Jan 13, 2022 · 2 comments · May be fixed by #883
Open

Add copy to clipboard button to code blocks #829

aaronshekey opened this issue Jan 13, 2022 · 2 comments · May be fixed by #883
Labels
enhancement Issues requesting a feature modification or extension

Comments

@aaronshekey
Copy link
Contributor

A suggestion from @MaxHorstmann that I'd love to include at some point. Code blocks could use their own copy to clipboard button.

There have been other requests for a proper stimulus copy to clipboard button, so perhaps we could break this down a bit and combine the components where necessary?

@aaronshekey aaronshekey added the enhancement Issues requesting a feature modification or extension label Jan 13, 2022
@b-kelly
Copy link
Collaborator

b-kelly commented Jan 13, 2022

Considering Stimulus's tutorial component is literally a "copy to clipboard" component, I feel like this feature is attainable.

dancormier added a commit that referenced this issue Mar 22, 2022
@dancormier dancormier linked a pull request Mar 22, 2022 that will close this issue
1 task
@dancormier dancormier linked a pull request Mar 22, 2022 that will close this issue
1 task
b-kelly pushed a commit that referenced this issue May 23, 2022
@MaxHorstmann
Copy link

Top post on r/ProgrammerHumor today:

https://www.reddit.com/r/ProgrammerHumor/comments/192bngn/backtostackoverflowagain/

Come on, friends, give us a "copy to clipboard" button! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues requesting a feature modification or extension
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants