Skip to content

Select all shortcut doesn't work on text fields inside blocks #65547

@t-hamano

Description

@t-hamano

Description

When the cursor is inside a text field, the command + a / ctrl + a shortcut is expected to select all text. But in "trunk" it selects the entire block instead.

Found out this was caused by #63671.

I have confirmed that this issue occurs on Windows OS, but I would like you to test whether it occurs on Mac OS as well.

This issue first appeared in WP6.7, so I think it needs to be fixed in WP6.7.

Step-by-step reproduction instructions

Insert a block containing input fields Table block, Embed block, Shortcode block, etc.
Focus the input field and execute command + a / ctrl + a.

Screenshots, screen recording, code snippet

11b9973136ebc3f30f0119d72d2cffca.mp4

Environment info

No response

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] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions