-
Notifications
You must be signed in to change notification settings - Fork 4.8k
withFontSizes bug in WordPress 5.8 release #33653
Copy link
Copy link
Closed
Labels
[Package] Block editor/packages/block-editor/packages/block-editor[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
With the release of WordPress 5.8 the withFontSizes HOC within '@wordpress/block-editor' has bugged behavior. The CoBlocks implementation of withFontSizes has remained unchanged for over two years yet is non-functional in 5.8.
Description
It seems that while migrating to the new global settings schema that some items may have been left out.
Step-by-step reproduction instructions
- Add Highlight block. (Happens on any blocks using
withFontSizesHOC) - Modify block font size and save changes.
- Reload the editor to see an invalid block state.
Expected behaviour
Expect API changes to withFontSizes to allow deprecation.
WordPress information
- WordPress version: 5.8
- Gutenberg version: 11.1.0
- Are all plugins except Gutenberg deactivated? (Except CoBlocks where we implement the HOC)
- Are you using a default theme (e.g. Twenty Twenty-One)? Yes
This does not occur using the same steps on 5.7.2
Device information
- Device: Desktop
- Operating system: IOS
- Browser: Chrome/Firefox
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Package] Block editor/packages/block-editor/packages/block-editor[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.
