Skip to content

Bug: command+arrow moves to opposite side in RTL in code blocks #7913

@noamzaks

Description

@noamzaks

Lexical version: v0.37.0+dev.esm

Steps To Reproduce

  1. Write an RTL line, e.g. "איזה כיף" inside a code block
  2. Press command+right or command+left

The current behavior

The caret moves to the opposite end of the paragraph.

The expected behavior

The caret moves to the correct end of the paragraph.

Impact of fix

Small impact for RTL users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions