Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Copy this code [...]" boxes: Selecting a fragment selects all #681
If I go to https://creativecommons.org/choose/?lang=en and try selecting - for example - a URL in the "Copy this code to let your visitors know!" textarea, the actual selection becomes the whole textarea's content when I release the primary mouse button.
This happens at least in Microsoft Internet Explorer and Google Chrome 61.
This is intentional behaviour to help people copy the metadata block correctly.
I agree that it's frustrating when one wishes to copy only part of it, but that's the less common case and we can always copy it to a text editor to extract the required section.
Other avenues to fix while still being very friendly with those who want the whole code:
Adding buttons to select just URL-s would also reduce impact.