Navigation: Custom font size outputs pxpx
instead of px
on the frontend
#37000
Labels
[Block] Navigation
Affects the Navigation Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When you set a custom font size on a navigation menu, everything works, editor and frontend. But the frontend outputs invalid inline font size properties:
This issue was originally discovered here, where it was suggested that the following code could be related:
https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/navigation/index.php#L122
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
The text was updated successfully, but these errors were encountered: