Skip to content

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

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

etrepum merged 1 commit into
mainfrom
revert-6486-fix/block-element-cursor

Conversation

@etrepum

@etrepum etrepum commented Aug 4, 2024 •

Copy link
Copy Markdown
Collaborator

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

vercel Bot commented Aug 4, 2024

Copy link
Copy Markdown

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

github-actions Bot commented Aug 4, 2024

Copy link
Copy Markdown

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

etrepum commented Aug 4, 2024

Copy link
Copy Markdown
Collaborator Author

/cc @ivailop7

@etrepum
etrepum added this pull request to the merge queue Aug 4, 2024
Merged via the queue into main with commit 80c400c Aug 4, 2024
@etrepum
etrepum deleted the revert-6486-fix/block-element-cursor branch August 4, 2024 18:28
jkjk822 pushed a commit to jkjk822/lexical that referenced this pull request Aug 26, 2024

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 635321e0 Deployed Aug 4, 2024 by vercel[bot]
Preview – lexical — 635321e0 Deployed Aug 4, 2024 by vercel[bot]
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