Skip to content

Linked text disappears after pressing enter #2319

@guarani

Description

@guarani

Describe the bug
Under certain circumstances, adding a link to a selection of rich text and tapping Enter afterwards results in the linked text disappearing.

To Reproduce
Steps to reproduce the behavior:

  1. Open the editor and add a block that uses rich text (paragraph, list, quote, etc)
  2. Add text
  3. Select the text
  4. Tap the link button in the toolbar and add any link
  5. Close the link bottom sheet
  6. Tap Enter on the keyboard and observe the link disappear

Expected behavior
Tapping enter after a linked portion of text should not result in the linked portion of text disappearing.

Screenshots

Smartphone (please complete the following information):

  • WordPress for iOS 14.8.2
  • Device: iPhone 7 physical device, iPhone 11 simulator
  • OS: iOS
  • Version 13.4.1, iOS 13.5

Additional context

  • Not present on Android
  • If there's an item in the list after the linked item, the bug is not present
  • If there's an item in the list before the linked item, the bug is still present

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions