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

Image Block: Block cannot be selected correctly when linked #60928

Closed
t-hamano opened this issue Apr 20, 2024 · 0 comments · Fixed by #61470
Closed

Image Block: Block cannot be selected correctly when linked #60928

t-hamano opened this issue Apr 20, 2024 · 0 comments · Fixed by #61470
Assignees
Labels
[Block] Image Affects the Image Block [Type] Regression Related to a regression in the latest release

Comments

@t-hamano
Copy link
Contributor

Description

When a link is set to an Image block, the block cannot be selected "correctly". Specifically, this means:

  • The outline is not displayed when a block is selected.
  • Keyboard operations do not work (Delete key to delete a block or Enter key to add a new paragraph)

This issue was once fixed in #56043. Then, pointer-events:none was then removed in #60305 to make the crop tool work properly. I think this is a regression caused by this.

Step-by-step reproduction instructions

  • Apply a link to the Image block.
  • Click the Image block with your mouse.
  • The outline is not displayed.
  • Press the Delete or Enter key.
  • Nothing happens.

Screenshots, screen recording, code snippet

cdf504ea5c06bb3ccd59ab36ef2aeca0.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

@t-hamano t-hamano added [Type] Regression Related to a regression in the latest release [Block] Image Affects the Image Block labels Apr 20, 2024
@t-hamano t-hamano self-assigned this Apr 20, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label May 8, 2024
@t-hamano t-hamano removed the [Status] In Progress Tracking issues with work in progress label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant