Skip to content

Hard(er) to select inline image in rich text #72949

@stokesman

Description

@stokesman

Description

After adding an image in rich text it can’t be selected with a simple click. It used to work like that but it looks like the pointer-events: none styles added in #67305 caused that to stop being the case. Now to select the image you have to drag-select or use arrow keys while holding the shift.

Step-by-step reproduction instructions

  1. Insert an image in some rich text
  2. Click the image
  3. Note that the popover doesn’t activate

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 6.8.2 with Gutenberg at trunk
  • Chrome Beta
  • MacOS

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Package] Format library/packages/format-library[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions