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-button and JavaScript to copy text to user clipboard #20

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

DJStowe
Copy link
Contributor

@DJStowe DJStowe commented Jan 27, 2024

Fixes

Fixes #10 by @SAMAD101

Description

Added copy-button to showliberate.html
Added inline JavaScript to copy text in showliberate.html
added formatting for copy-button into base.html
Deleted some whitespace that was making the pre-commit hooks mad in showliberate.html and base.html

Checklist

  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the default branch of the repository (main or master).
  • My commit messages follow best practices.
  • My code follows the established code style of the repository.
  • I added or updated tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no
    visible errors.

@SAMAD101
Copy link
Member

Can you please put a small video showing it in action @DJStowe

@DJStowe
Copy link
Contributor Author

DJStowe commented Jan 29, 2024

@SAMAD101
Copy link
Member

@SAMAD101 SAMAD101 merged commit 6c946b5 into FOSS-Community:main Jan 30, 2024
3 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.

[Feature] Add a copy button
2 participants