Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Control + A is pressed on the title, if there are two or more blocks, the block will be selected instead of the title. #33589

Closed
torounit opened this issue Jul 21, 2021 · 0 comments · Fixed by #33621
Assignees
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@torounit
Copy link
Member

torounit commented Jul 21, 2021

Description

When select all ( ctrl + A or cmd + A) on the title, if there are two or more blocks, the block will be selected instead of the title.

This problem occurs in WordPress 5.8 or Gutenberg 11.

I think it is related to the pull request at #33167, but I don't know.

Step-by-step reproduction instructions

  1. Go to edit post.
  2. Add title text.
  3. Added some blocks.
  4. Press Control + A on title.

Expected behaviour

The block will not be selected, and all the characters of the title will be selected.

Actual behaviour

The title will not be selected, the block will be selected.

Screenshots or screen recording (optional)

2021-07-21.17.17.23.mov

WordPress information

  • WordPress version: 5.8
  • Gutenberg version: 11.0
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes

Device information

  • Device: Desktop
  • Operating system: macOS 11.4 / Windows 10
  • Browser: Chrome 91.0 / Edge 91 / firefox 89
@torounit torounit added [Type] Bug An existing feature does not function as intended [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... labels Jul 21, 2021
@draganescu draganescu added the Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release label Jul 21, 2021
@torounit torounit self-assigned this Jul 22, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jul 22, 2021
@Mamaduka Mamaduka removed the Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release label Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
3 participants