-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 #19011
Comments
But then so much buttons there. |
@lunny i want only one button - for copying. If that's a problem, then they can also add this as option, so user could decide in his preferences does he want this additional button, or not. |
Just found Github also has that button. |
So you're also down for this feature? |
Yes, I think we can follow that if no better idea. |
I'm missing such a "Copy Content" Button as well. This would be a nice feature. |
Does #21629 close this? |
It's work in the same way as button on github? If so, then yes :) |
It's not exactly the same, in #21629 you can only copy the text if a file is displayed in https://try.gitea.io/alchemist/stem-ui/src/branch/main/README.md (disabled as it's not raw text) |
Can you make it work for all views? Not only raw content? |
That would require a call to the raw content endpoint, which the maintainers preferred not to have, see quotes:
Originally posted by @lunny in #21629 (comment)
Originally posted by @silverwind in #21629 (comment) |
I love copying feature in Github, but this is better then nothing :) |
If you'd like the extended functionality to copy files while in rendered view please open a new issue |
Where does GitHub have this button? We can extend later to allow image copy which is a bit tricky but possible. What other file types do you want to copy? |
Apparently GitHub hides the button depending on User-Agent. Firefox UA will not show it. Switching Firefox to Chrome UA shows it and it also works. Way to go to discriminate browsers... |
Feature Description
It would be great if you could add copy button like there is in gitlab for example. It would help me very much.
I think it's small thing but it would help.
Screenshots
The text was updated successfully, but these errors were encountered: