Skip to content

Conversation

@abhi1693
Copy link
Member

Fixes: #12499

I have created a new copy_content template that I have used in several places to provide the copy to clipboard functionality. I have also refactored copy-token code to utlize this new template.

@abhi1693 abhi1693 requested a review from jeremystretch May 12, 2023 17:19
@jeremystretch
Copy link
Member

I wonder if it might be a more scalable approach to introduce a CSS class that display a "copy" button on hover, appended to the element? That would obviate the need for any substantial changes to the underlying tables or templates. It should be feasible, but I'll need to track down an example.

@jeremystretch jeremystretch merged commit 62bdb90 into develop Jul 6, 2023
@jeremystretch jeremystretch deleted the feat/12499-copy-ip branch July 6, 2023 18:19
@jeremystretch
Copy link
Member

Thanks @abhi1693!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy-to-clipboard functionality for IPs

4 participants