[WP6.1] Calender and Archive blocks are broken when fontFamily is changed #44530
Labels
[Block] Archives
Affects the Archives Block
[Block] Calendar
Affects the Calendar Block
[Type] Bug
An existing feature does not function as intended
Description
Originally reported in trac: https://core.trac.wordpress.org/ticket/56678
The following two blocks, which support typography, cause errors when changing the font family.
This does not occur when the gutenberg plugin is enabled, nor in other blocks that support font families. I expect this is a problem unique to dynamic blocks using
ServerSideRender
.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
46abe27eba03ca749803b73c12d21d1e.mp4
The browser console records a 500 error in the API request and React errors:
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: