Closed shubh0107 closed 2 years ago
Please add copy icon in rest of the documentation code too.
Please add copy icon in rest of the documentation code too.
![]()
This is also done.
hi @aniketsingh0104, Have made the changes are per your suggestions.
Let me know if this looks fine. Thanks 👍🏻
Please check in mobile browser once. Copied text to being remove too fast.
Please check in mobile browser once. Copied text to being remove too fast.
As the show and hide logic of the Copy button is based on hover
over the editor/snippet block, it doesn't work as expected on a touch interface or the mobile browser.
I've handled this by tweaking it a bit that only on viewports md
and above, the copy button will be hidden by default. On sm
it will always be visible.
This PR closes issue #84.
The playground code editor now has a button which copies the current code written in the editor to clipboard.