Skip to content

Revert "[@lexical/playground] fix: block cursor show horizontal"#6490

Merged
etrepum merged 1 commit intomainfrom
revert-6486-fix/block-element-cursor
Aug 4, 2024
Merged

Revert "[@lexical/playground] fix: block cursor show horizontal"#6490
etrepum merged 1 commit intomainfrom
revert-6486-fix/block-element-cursor

Conversation

@etrepum
Copy link
Copy Markdown
Collaborator

@etrepum etrepum commented Aug 4, 2024

Reverts #6486
RE #6459

The horizontal cursor is desired in cases where the selection would otherwise be visually ambiguous. This can be reproduced by clearing the editor, creating a table node, selecting before the table node, and pressing up to get a selection at the root node.

Before revert:

block-cursor-before-revert.mov

After revert:

block-cursor-after-revert.mov

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2024 5:22pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2024 5:22pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 4, 2024
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 4, 2024

size-limit report 📦

Path Size
lexical - cjs 29.02 KB (0%)
lexical - esm 28.85 KB (0%)
@lexical/rich-text - cjs 37.37 KB (0%)
@lexical/rich-text - esm 28.34 KB (0%)
@lexical/plain-text - cjs 36.03 KB (0%)
@lexical/plain-text - esm 25.6 KB (0%)
@lexical/react - cjs 39.27 KB (0%)
@lexical/react - esm 29.75 KB (0%)

@etrepum
Copy link
Copy Markdown
Collaborator Author

etrepum commented Aug 4, 2024

/cc @ivailop7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants