Skip to content

Undo/redo - Apply text format to a link breaks the undo functionality #3136

@fluiddot

Description

@fluiddot

Describe the bug
After applying any text format (bold, italic or strikethrough) on a previously created link, the undo action stops working.

To Reproduce
Steps to reproduce the behavior:

  1. Add a a rich-text based component with content (Paragraph, Heading, Quote, Media Caption, etc...).
  2. Write a word and select it.
  3. Press the link format button.
  4. Fill the options and dismiss to add a link.
  5. Select the word.
  6. Press the bold, italic or strikethrough button to apply text format.
  7. Press the Undo button.
  8. Observe that the text format remains.

Expected behavior
Undo action should revert the text format.

Screenshots

undo-text-forma-link-android.mp4

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S20 5G
  • OS: Android 10
  • Version 16.7-rc-1

Additional context
N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions