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

List not unwrapped properly in empty editor #3542

Open
reinvanimschoot opened this issue Sep 17, 2024 · 0 comments
Open

List not unwrapped properly in empty editor #3542

reinvanimschoot opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@reinvanimschoot
Copy link

reinvanimschoot commented Sep 17, 2024

Description

When you have an empty editor and you add a list and then press backspace, the list is removed but the list item is wrapped in a paragraph instead resulting in a bullet still showing and very strange behavior.

Reproduction URL

No response

Reproduction steps

- Go to https://platejs.org/docs/list
- Select everything in the preview window and remove everything.
- Add a bulleted list, don't type anything and press Backspace.

Plate version

38.0.1

Slate React version

0.110.1

Screenshots

No response

Logs

No response

Browsers

No response

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@reinvanimschoot reinvanimschoot added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant