Skip to content

Link Control: Unable to edit text in development mode #62089

@Mamaduka

Description

@Mamaduka

The LinkControl popover steals the focus and prevents editing the text in development mode. See: #61943.

Affected e2e tests:

  • editor/blocks/links.spec.js - should allow editing text underneath popover when activated via mouse.
  • editor/various/block-bindings.spec.js - should add empty button block when pressing enter.

Steps to reproduce

  • Checkout branch from Try: Re-enable React StrictMode #61943.
  • Enable SCRIPT_DEBUG for non wp-env setups.
  • Create a post.
  • Add a paragraph and add a link to some selection.
  • Try editing the linked text.

Screencast

CleanShot.2024-05-29.at.12.56.40.mp4

Metadata

Metadata

Assignees

Labels

[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[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