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 code to clipboard #202

Merged
merged 2 commits into from
May 15, 2024
Merged

Conversation

jggoebel
Copy link
Member

@jggoebel jggoebel commented May 15, 2024

fixes hobbyfarm/hobbyfarm#333

Adds a copy to clipboard icon to codeblocks that are not Click-To-File

```yaml:test.yml
Dateiinhalt: Test
Kopier mich doch
```

Uses the https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API to write the code to the clipboard.

copy_clipboard

@jggoebel jggoebel merged commit 1e44739 into hobbyfarm:master May 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Click-to-copy
1 participant