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

Numbered lists (indent plugin) don't reset their count when deleting back to empty list item #2692

Closed
drewag opened this issue Oct 9, 2023 · 4 comments · Fixed by #3140
Closed
Labels
bug Something isn't working plugin:indent-list slate

Comments

@drewag
Copy link

drewag commented Oct 9, 2023

Start with content like this (| represents the cursor).

1.
2. |Two

Then press the backspace. It produces:

2. Two

Instead of

1. Two

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
@drewag drewag added the bug Something isn't working label Oct 9, 2023
@dhawansolanki
Copy link

Could you clarify the issue in more detail?

@12joan
Copy link
Collaborator

12joan commented Jan 1, 2024

@dhawansolanki I can reproduce it on https://platejs.org/.

image.mp4

@felixfeng33
Copy link
Collaborator

I think this will be fixed by #3064

@felixfeng33
Copy link
Collaborator

Slate's mergeNodes behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin:indent-list slate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants