Make WordPress Core

Opened 7 weeks ago

Closed 7 weeks ago

#61336 closed defect (bug) (reported-upstream)

Background colour is not working in Calendar block

Reported by: sudipatel007's profile sudipatel007 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

### Description
Background colour is not working in Calendar block

### Environment

  • WordPress: 6.6-alpha-58261
  • PHP: 8.1.23
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.23)
  • Browser: Chrome 125.0.0.0 (macOS)
  • Theme: Twenty Twenty-Four 1.1
  • MU-Plugins: None activated
  • Plugins:
    • WordPress Beta Tester 3.5.5

### Steps to Reproduce

  1. Create new page
  2. Add Calendar block
  3. Set background colour from Setting

### Screenshot - https://drive.google.com/file/d/1sWZqKltMnuR9a7GNg7TYlD4orYmgrNoV/view?usp=sharing

### Expected Results

  1. ✅ Background colour of calendar should be set

### Actual Results

  1. ❌ Background color is not working in calendar block

Change History (2)

#1 @Marc4
7 weeks ago

Reproduction Report

This report validates that the issue can be reproduced.

Environment

  • OS: Win 10
  • PHP: 8.0
  • WordPress: 6.5.3
  • Browser: Chrome 125.0
  • Theme: Twenty Twenty-Four

Actual Results

  • ✅ Error condition occurs (reproduced).

Additional Notes

  • The background color is not applied to the calendar block inside the editor, but it is applied to the front-end.
Last edited 7 weeks ago by Marc4 (previous) (diff)

#2 @sabernhardt
7 weeks ago

  • Component changed from General to Editor
  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Hi and thanks for the report!

The color options technically apply to the Calendar block, but not until saving the post.

If you want to follow the discussion about fixing it, this is already reported on
https://github.com/WordPress/gutenberg/issues/61346

Note: See TracTickets for help on using tickets.