withFontSizes bug in WordPress 5.8 release #33653
Labels
[Package] Block editor
/packages/block-editor
[Type] Bug
An existing feature does not function as intended
With the release of WordPress 5.8 the
withFontSizes
HOC within '@wordpress/block-editor' has bugged behavior. The CoBlocks implementation ofwithFontSizes
has remained unchanged for over two years yet is non-functional in 5.8.https://github.com/godaddy-wordpress/coblocks/blob/4b6a23ebbca9a9702acf88316cf35aeedad8a5da/src/blocks/highlight/edit.js#L136
https://github.com/godaddy-wordpress/coblocks/blob/4b6a23ebbca9a9702acf88316cf35aeedad8a5da/src/blocks/highlight/inspector.js#L36-L40
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
withFontSizes
HOC)Expected behaviour
Expect API changes to
withFontSizes
to allow deprecation.WordPress information
This does not occur using the same steps on 5.7.2
Device information
The text was updated successfully, but these errors were encountered: