Skip to content

Caret is moved to the end of the text when undoing applied Background Color #4632

Description

@BayuAri

Step to Reproduce

  1. Create Thought Welcome to the Jungle
  2. Place the caret in the middle of the text for easy spotting
  3. Apply Red Background Color
  4. Click Undo

Current behavior

Background Color is undone but the caret is moved to the end of the Notes text.
This is also valid for undoing Font Color applied.
Valid for Mobile and Desktop platforms

image

Video:

Screen.Recording.2026-07-14.at.22.08.36.mov

Expected behavior

Caret should stay where it left off.

Originally posted by @BayuAri in #4628 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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