Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cursor not as expected when delete a inline badge #5632

Open
fnknzzz opened this issue Apr 8, 2024 · 0 comments
Open

cursor not as expected when delete a inline badge #5632

fnknzzz opened this issue Apr 8, 2024 · 0 comments

Comments

@fnknzzz
Copy link

fnknzzz commented Apr 8, 2024

Description
When a badge is directly after another badage, delete this, cursor is not shown as a line

Recording
20240408160751_rec_

Sandbox
https://codesandbox.io/p/sandbox/slate-reproductions-forked-d6wn45?file=%2Findex.js

Steps
To reproduce the behavior:

  1. Focus on the end
  2. Enter 'backspace', delete one badge
  3. See error

Expectation
after delete, the cursor should be shown as a line, and can be continuously deleted

Environment

  • Slate Version: [e.g. 0.101.5]
  • Operating System: [e.g. MacOS 14.0]
  • Browser: [e.g. Chrome 123.0.6312.107]

Context
No more context

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

No branches or pull requests

1 participant