The copy protection Javascript has been updated to exclude INPUT and TEXTAREA elements. This will allow users to copy email and address fields and other things in text boxes that typically don't need to have copy protection.
How has this been tested?
Manually. Go to the checkout page. Try to copy some text on the page. You will instead have "Copying is not allowed." your clipboard. Now type something into the email field and try to copy that. You will have the actual copied text.
I haven't tested this yet. There is a unit test related to the copy protection feature. It may fail now. We can think about updating or removing that test.
Description
The copy protection Javascript has been updated to exclude INPUT and TEXTAREA elements. This will allow users to copy email and address fields and other things in text boxes that typically don't need to have copy protection.
How has this been tested?
Manually. Go to the checkout page. Try to copy some text on the page. You will instead have "Copying is not allowed." your clipboard. Now type something into the email field and try to copy that. You will have the actual copied text.
I haven't tested this yet. There is a unit test related to the copy protection feature. It may fail now. We can think about updating or removing that test.
Checklist:
npm run dev changelog add -- -i
and follow the prompt. See also: https://github.com/gocodebox/lifterlms/blob/trunk/packages/dev/README.md#changelog-add -->