Skip to content

Fix copy code button in the docs#9

Merged
mhdcodes merged 1 commit intomhdcodes:mainfrom
ELHart05:main
Jul 20, 2025
Merged

Fix copy code button in the docs#9
mhdcodes merged 1 commit intomhdcodes:mainfrom
ELHart05:main

Conversation

@ELHart05
Copy link
Contributor

I have added in this PR a fix and an enhancement for the copy-to-clipboard button, it now shows a green background with a checkmark icon, and a "Copied!" label when clicked, then reverts to the original state after 3 seconds, the component code used getHTML method that does not exist in HTML, it was fixed!

@mhdcodes mhdcodes changed the title fix: fixed and styled copy button feature on the docs Fix copy button in the docs Jul 20, 2025
@mhdcodes
Copy link
Owner

Hey @ELHart05 thanks for this nice PR. 🙏

@mhdcodes mhdcodes changed the title Fix copy button in the docs Fix copy code button in the docs Jul 20, 2025
@mhdcodes mhdcodes merged commit cfe2218 into mhdcodes:main Jul 20, 2025
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.

2 participants