processing / processing/p5.js-web-editor
color icon next to hex code inside of object can be duplicated
Open
Nobody has claimed this yet.
Area: Dependencies
Area:Editor
Bug
Priority:Low
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
Details about the bug:
- p5.js version: 1.4
- Web browser and version: Google Chrome | 100.0.4896.133
- Operating System: Chromium
- Steps to reproduce this:
type this:
let h = { //varible name does not matter
l:"#678765" //color does not matter
}
then the little icon will apear.
put the mouse next to the icon
then press delete, this will delete the quotation mark
then press enter, the icon will duplicate
actual bug example

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the p5.js Editor with the provided object-literal snippet in Chrome: place the cursor by the color icon, delete the quote, and press Enter. Trace the editor behavior that renders color icons inside objects; done means the icon remains single after these edits and the reproduction no longer duplicates it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100