-
Notifications
You must be signed in to change notification settings - Fork 244
Update code-block-buttons.js #581
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
Conversation
- Replaced innerHTML with template literals to prevent XSS vulnerabilities - Switched to DOMContentLoaded event for earlier script execution - Improved accessibility and user feedback for clipboard copy buttons - Added error handling for clipboard failures - Prevented duplicate buttons and improved memory management Signed-off-by: Arunangshu Mazumdar <amazumdar41@gmail.com>
@github-actions
github-actions
bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you and congratulations 🎉 for opening your very first pull request in keploy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Arun7677, Thank you for raising the pr. Our team will review the changes soon
Hey @Arun7677 Thanks for raising this PR, can you please provide a preview/video for the same, I just want to make sure that the UI looks nice and nothing is breaking on the front end.
Uh oh!
There was an error while loading. Please reload this page.
What has changed?
Please include a summary of the change.
This PR Resolves #(issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please run npm run build and npm run serve to check if the changes are working as expected. Please include screenshots of the output of both the commands. Add screenshots/gif of the changes if possible.
Checklist: