Skip to content

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

Closed

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

Activity

  1. added
    [Type] Bug
    [Feature] Writing Flow
    [Type] Regression
    on Sep 22, 2024
  2. t-hamano commented on Sep 26, 2024

    @t-hamano
    ContributorAuthor

    Fixed by #65414 (See this comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Writing Flow[Type] Bug[Type] Regression

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions