-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Font Library[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When updating the Font Library, it resets the color palette and layout settings (width of the main content area) to their default values and breaks the design of the live website.
For example, if a user tries a font, does not like it, and doesn’t save the editor, the design of the site will be reset without their knowledge. Additionally, every user that updates the Font Library will inadvertently reset the style (colors and layout widths) of their live websites until they save the editor.
Step-by-step reproduction instructions
- Activate the Twenty Twenty-Four theme.
- Open the Site Editor.
- Select the Onyx style variation and save the changes.
- Visit the live website to confirm that your website appears dark.
- Open the Font Library and make any changes (e.g., remove Cardo Normal Italic).
- Update the Font Library.
- DO NOT SAVE the editor.
- Check your live website, and observe that your website is not dark anymore and has been reverted to the default colors.
- Reload the editor, and observe that your website in the editor is not dark anymore and has been reverted to the default colors.
Screenshots, screen recording, code snippet
font-library-issue.mp4
Environment info
WordPress 6.5 RC4 or Gutenberg 18.0.0
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Font Library[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
✅ Done