-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seedlet: selecting stripe gradient for group blocks crashes the block. #2161
Comments
👋 Thanks for the report! What version of Gutenberg are you running? This was an issue, but it should be fixed as of Gutenberg v8.2. |
Some tinkering suggests that using hexadecimal colors in gradients is not supported by Gutenberg. That PR linked above only fixes literal color names. I've tested with Gutenberg 8.2.1, 8.3, and 8.4.0-rc.1(git master) on a local If I change the default values for the theme colors in A potential fix would be to change the colors to rgb in the theme, or fix the issue in the editor here |
Yes, only the hard horizontal ones are causing the issue. |
I tested this with a fresh gutenberg-starter-theme, and I could reproduce the issue there. I have filed a bug |
Thank you! 🙌 |
I'll close this issue for now, since the problem lies upstream in Gutenberg. 👍 |
Just to confirm, this will block the release of this theme on WP.com until the editor bug is resolved and released. That might take some time. 🤔 |
The PR for this is already approved, so I think it should land soon. We don't expect Seedlet to be live for all users on .com for at least a few weeks. With that in mind, I don't think it makes sense to rewrite things on our end. cc @jffng for a second opinion though. |
Yep refactoring to rgb is not a great solution for us. Thanks @kavyagokul for highlighting this issue and working up the PR! |
Steps to replicate
Result
Error message
Error messages from browser console in text file
error.txt
Expected
Stripe gradient background is set.
The text was updated successfully, but these errors were encountered: