Make WordPress Core

Opened 5 months ago

Closed 5 months ago

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

Calendar Block > Date text color styling not applied in Block Editor on Pages

Reported by: harshalk's profile harshalk Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: ui, javascript, administration Cc:

Description

On Pages > the Calendar block text color styling for dates is not applied in the Block Editor, while it is applied correctly on the Frontend.

Actual Result:
On editor (Pages) → Date text color styling is not applied.
On Frontend (Pages) → Date text color styling is applied correctly.

Expected Result:
The selected date text color styling should be applied consistently on Pages in both Block Editor and Frontend.

Prerequisite:
Wordpress version: 6.8.2
Theme: Twenty Twenty Three
System: Macbook Pro, OS: Sequoia Version 15.6
Browser: Chrome Version 139.0.7258.139 (Official Build) (x86_64)

Editor screenshot:
https://prnt.sc/9dxR_9lKzvyi

Front-end screenshot:
https://prnt.sc/RE7FcOYkxobj

Change History (1)

#1 @sabernhardt
5 months 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
  • Version 6.8.2 deleted

Hi and welcome to WordPress Core Trac!

The text and background colors update in the editor with 6.8, but only after the post is saved (including auto-saves). This was already reported on GB61346 and GB64739, in addition to
https://github.com/WordPress/gutenberg/issues/69220

With Gutenberg 21.4, the Calendar block refreshes after each color choice (with a very short delay), and that fix should be part of WordPress 6.9.

Note: See TracTickets for help on using tickets.