Skip to content

Rich Text: Selection placed incorrectly after deleting empty paragraph (Internet Explorer) #20598

Description

@aduth

Previously: #20594 (comment)
Possibly related to: #19536

Steps to Reproduce:

  1. (Prerequisite) Use Internet Explorer
  2. Navigate to Posts > Add New
  3. Insert a paragraph with some text
  4. Press Enter to insert a second paragraph
  5. Press Backspace to delete the second paragraph
  6. Note that the caret selection is placed at the beginning of the first paragraph

Expected Outcome:

Caret selection should be placed at the end of the first paragraph.

Additional Context:

This is working correctly in WordPress 5.3.2 and, as such, is flagged as "Regression".

cc @ellatrix

Metadata

Metadata

Assignees

Labels

Browser IssuesIssues or PRs that are related to browser specific problems[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Package] Rich text/packages/rich-text[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions