Skip to content

Conversation

@ilicfilip
Copy link
Contributor

This PR fixes the issue with color not being displayed in the CMYK format, although the "Show CMYK values" toggle was ON.

The problem was that in the part of the code showCMYK was checked as it was swatch (not block) setting.

Since this change also changes the HTML the block outputs Gutenberg complained with This block contains unexpected or invalid content - Attempt Recovery error. Recovery worked, but since it isn't user friendly this PR also adds migration, from old to new format, so the upgrade is smooth.

@ilicfilip ilicfilip requested review from aristath and jdevalk October 27, 2025 14:02
@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2025

Test on Playground
Test this pull request on the Playground
or download the zip

@jdevalk
Copy link
Member

jdevalk commented Oct 27, 2025

Tried this on progressplanner.com and had to run the attempt recovery, so don't think the migration works.

Other than that it works though!

@ilicfilip
Copy link
Contributor Author

works better if build is actually ran 🤦

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.

3 participants