Skip to content

[codemirror6] Fix color picker to work in Javascript#4006

Open
khanniie wants to merge 1 commit intodevelop-codemirror-v6from
cm6-color-picker-import
Open

[codemirror6] Fix color picker to work in Javascript#4006
khanniie wants to merge 1 commit intodevelop-codemirror-v6from
cm6-color-picker-import

Conversation

@khanniie
Copy link
Member

Issue:

Fixes #3814

Demo:

Screen.Recording.2026-03-17.at.2.41.19.PM.mov

Changes:

Instead of using the uiwjs colorpicker extension, use a version that I've modified to:

  • Support Javascript
  • have a persistent colorpicker dialog that doesn't dismiss every time you select a color
  • have the text/widget color dynamically change as the user moves the colorpicker around
  • work for rgba(_, _, , 0) and rgba(, _, _, 1)

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • has no typecheck errors (npm run typecheck)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123
  • meets the standards outlined in the accessibility guidelines

works on javascript and has a few UX improvements!
@release-com release-com bot deployed to p5.js-web-editor: cm6-color-picker-import (tede89d) March 17, 2026 21:49 Active
@release-com
Copy link

release-com bot commented Mar 17, 2026

Release Environments

This Environment is provided by Release, learn more!
To see the status of the Environment click on Environment Status below.

🔧Environment Status : https://app.release.com/public/Processing%20Foundation/env-551e99824d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants