p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Addition of a Copy Button in the Editor

Open nirajbagdi opened this issue 2 months ago • 5 comments

Increasing Access

While copying can be done with keyboard shortcuts, the absence of a copy button is often felt, especially by beginners and users on touch devices. In a lightweight, beginner-friendly editor like the p5.js web editor, a visible copy button is naturally expected by users. On touch devices in particular, a single tap is much simpler than manually selecting text.

Feature request details

This feature was previously in discussion a year ago.

I even made a PR #2462 showing how this would look like in action, but couldn't move forward with it due to it being inactive for a long time. But I'd be happy to pick this up again, if we think this could be a useful addition :)

I also found issue #3460, which notes text selection and copy on touch devices isn't seamless, which I also experienced with my mobile device. Though this issue could be resolved with the move to CM6, I think having a copy button in place would be a good idea.

nirajbagdi avatar Oct 02 '25 07:10 nirajbagdi

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

welcome[bot] avatar Oct 02 '25 07:10 welcome[bot]

Hello maintainers i want to work in this project this is short of my starting issues i am facing a small issue of running this locally it is asking for MAILGUN_KEY, MAILGUN_DOMAIN, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, MONGO_URL. could you please help me with this problem how can i locally run without these credentials it would be very helpful I would love to work on this and try to add this feature Thank You

ayushgopal17 avatar Oct 03 '25 20:10 ayushgopal17

can you please assingn it to me

ayushgopal17 avatar Oct 04 '25 11:10 ayushgopal17

Thanks for opening this issue @nirajbagdi and for your interest @ayushgopal17!

I think we can revisit this once the CM6 upgrade has been completed, which will most likely be by the beginning of next year. I'm going to place this issue on hold for now, but will definitely open up movement for this again once the upgrade is done!

raclim avatar Oct 16 '25 19:10 raclim

@raclim Once it's open .Please Allow me to step in.

SinhaS12 avatar Dec 07 '25 09:12 SinhaS12