Copy Button Issue with Multiple Syntax Signatures in Reference Page #698
Labels
Bug
Something isn't working
Good First Issue
Good for newcomers
Help Wanted
Extra attention is needed
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Windows
Web browser and version
132.0.6834.160 (Official Build) (64-bit) (cohort: Stable)
Actual Behavior
When clicking the copy button for functions with multiple syntax signatures (for example: createCanvas), the content includes both signatures merged together in the clipboard:
This issue occurs for any method that has multiple syntax signatures.
Expected Behavior
Each copy button should copy only the corresponding syntax signature. For example:
or
depending on which copy button is clicked.
Steps to reproduce
Would you like to work on the issue?
This might make a good first issue. I'm happy to leave it to a new contributor.
The text was updated successfully, but these errors were encountered: