Skip to content

Unable to reset only font size from Typography block settings #38219

@Clorith

Description

@Clorith

Description

When choosing a font size in the new Typography selector, there is no way to return to the default value, without resetting all typography settings.

For comparison, the letter case setting lets you return to the default value by tapping the selected value once more to un-select it.

Initially reported at https://wordpress.org/support/topic/wordpress-5-9-beta-2-cant-reset-font-size/

Step-by-step reproduction instructions

  1. Open a post
  2. Select a paragraph block
  3. In the block settings, choose a font size in the selector
    4.There is now no way to un-select

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 5.9-RC4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions