Skip to content

Styles: editor consistently errors out when selecting Typography > Buttons > Font #74134

@annezazu

Description

@annezazu

Description

When using Styles and selecting Typography > Buttons, an error consistently shows if you try to change the font family. Here's the following error:

Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at xa (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:183:379) at ok (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:116:201) at i (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/block-editor/index.min.js?ver=1765975723586:221:212619) at https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/block-editor/index.min.js?ver=1765975723586:221:212694 at If (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:161:274) at Gc (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:164:469) at Xb (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:199:513) at Rk (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:198:114) at xb (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:196:166) at Li (https://playground.wordpress.net/scope:calm-chic-garden/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:189:373)

Step-by-step reproduction instructions

  1. Go to Appearance > Editor
  2. Open Styles
  3. Go to Typography
  4. Select "Buttons"
  5. Try changing the font using the dropdown.
  6. Notice error.

Screenshots, screen recording, code snippet

errors.out.mov

Environment info

  • WP 6.9
  • GB 22.3
  • TT5

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions