### Description ### Quick summary Site editor crashes when selecting different font for Headings in Styles ### What you expected to happen I expected the font to change to the selected font, and be usable. ### What actually happened Editor crashed. Unable to continue. ### Step-by-step reproduction instructions ### Steps to reproduce 1. Any site 2. installed Pendant theme 3. Browse to Site Editor, then Styles. 4. Select a style 5. Drilled down into Styles to Headings. 6. Selected H1. 7. I will crash, if not, take the next step 8. Fonts, select any other font. 9. Editor crashed with error: The editor has encountered an unexpected error. ### Screenshots, screen recording, code snippet https://github.com/user-attachments/assets/277b6739-1bbb-4e85-8097-50b295901059 ### Environment info - Latest WP, latest Gutenberg ### Please confirm that you have searched existing issues in the repo. - [X] Yes ### Please confirm that you have tested with all plugins deactivated except Gutenberg. - [X] Yes
Description
Quick summary
Site editor crashes when selecting different font for Headings in Styles
What you expected to happen
I expected the font to change to the selected font, and be usable.
What actually happened
Editor crashed. Unable to continue.
Step-by-step reproduction instructions
Steps to reproduce
Screenshots, screen recording, code snippet
Screen.Recording.2024-08-31.at.3.01.18.AM.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.