block-options icon indicating copy to clipboard operation
block-options copied to clipboard

Headings inside custom block appear white in editor

Open github-actions[bot] opened this issue 3 years ago • 1 comments

Support

Using version 1.31.9, headings inside of my custom block (which has the ‘has-background-color’ class, yet no explicit background color) appear white. I believe the cause is this CSS:

.has-background-color {
  color:var(--wp--preset--color--background,#fff)!important;
}

I think there is an error here, as the color and not the background color is being set?

Details

  • Support Author: stevygee1987
  • Support Link: https://wordpress.org/support/topic/headings-inside-custom-block-appear-white-in-editor/
  • Latest Activity: 3 days, 3 hours ago
  • Spinup Sandbox Site: https://tastewp.com/new/?pre-installed-plugin-slug=block-options

Note: This support issue is created automatically via GitHub action.

github-actions[bot] avatar Dec 04 '21 14:12 github-actions[bot]

It should be fixed, awaiting confirmation from the user.

munirkamal avatar Dec 06 '21 09:12 munirkamal