You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created an upstream issue to capture this and I'm not sure whether it is something that will likely be resolved in Gutenberg, or in Create Block Theme.
When using the Create Block Theme plugin to generate a blank theme, no colors are available in the blank theme's theme.json. Therefore, when you go to use the Color Randomizer, it throws an error in the console:
react-dom.min.js?ver=18:1 Uncaught TypeError: Cannot read properties of undefined (reading 'map')
Step-by-step reproduction instructions
Activate Gutenberg and Create Block Theme plugin
Be sure to go to Gutenberg > Experiments and activate the Color randomizer experiment.
Visit Appearance > Create Block Theme (WP Admin)
Choose 'Create a blank theme' and Save
Visit Appearance > Themes, and activate the newly created blank theme
Visit Global Styles > Colors in Appearance > Editor and hit the 'Randomize colors` (open browser console for error)
Note: after creating a blank theme you can deactivate the Create Block Theme plugin and the issue still persists.
I've created an upstream issue to capture this and I'm not sure whether it is something that will likely be resolved in Gutenberg, or in Create Block Theme.
WordPress/gutenberg#50150
Here is same (copy/paste) ticket info...
Description
When using the Create Block Theme plugin to generate a blank theme, no colors are available in the blank theme's
theme.json
. Therefore, when you go to use the Color Randomizer, it throws an error in the console:Step-by-step reproduction instructions
Note: after creating a blank theme you can deactivate the Create Block Theme plugin and the issue still persists.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.2
Gutenberg 15.6.2
Create Block Theme plugin 1.8.2
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: