Skip to content

Bug: Formatting removed on applying any of bold , italics and underline then replacing. #8067

@satvik-toddle

Description

@satvik-toddle

When any formatting is provided to text like bold , italics or underline then selection is made and typed on to override , it is seen that first character has formatting for not the character after it.
Lexical version: ^0.30.0

Steps To Reproduce

  1. Write some text
  2. Apply formatting like bold / italics / underline
  3. Then select text
  4. Then type something

The current behavior

First character gets style

The expected behavior

Style should apply to all the characters following

Screen.Recording.2026-01-07.at.2.07.55.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreReconciler, DOM, Selection, Node, Events, Compositionselection

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions