-
Notifications
You must be signed in to change notification settings - Fork 0
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
Post Edit block invisible when using textColor: white and a default gradient #3
Comments
The value of
For the Post Edit block I'd changed the settings from
to the shortcut But I hadn't rebuilt the JavaScript, so in the editor the block still supported I believe this explains the problem. SolutionFor the Post Edit block |
I'd added this logic either to be able to style the Link using the Text colour, or to attempt to set the background of the Link not the outer div.
Either way, it doesn't quite work. It sets the class for the background gradient on the |
In the Editor the block doesn't need the Text color settings. |
Post Edit block invisible on the front end when using
textColor: white
and a default gradient.The following source can lead to the display of an invisible block. The gradient is not being rendered.
This is strange because the gradient works for the the UK tides block!
Here's an example with the gradient set to Light green cyan to vivid green cyan for the first UK Tides block and the Post Edit block.
In the front end gradient is not being applied to the Post Edit block.
The generated outer div for the UK tides block is
For the Post Edit block it's
The text was updated successfully, but these errors were encountered: