facebook / facebook/lexical

Bug: HorizontalRule lexical playground

Open
#7,758 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 16h
Merged PRs (30d)
61

Description

I'm not sure whether this is a bug, but shouldn't the horizontal rule prevent the cursor from being placed at its start?

tested on the playground

https://github.com/user-attachments/assets/9e4de516-9e1e-473c-a690-8887b26660dd

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported behavior in the Lexical playground using the attached example, then trace how the HorizontalRule handles cursor placement at its start. Confirm the intended cursor behavior with the issue context and make the playground behavior consistent with that decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.