plate icon indicating copy to clipboard operation
plate copied to clipboard

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

Open drewag opened this issue 1 year ago • 2 comments

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 avatar Oct 09 '23 21:10 drewag

Could you clarify the issue in more detail?

dhawansolanki avatar Jan 01 '24 13:01 dhawansolanki

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

https://github.com/udecode/plate/assets/4272090/fd7a2a75-518e-4906-97cf-ed0ca9e5ed6d

12joan avatar Jan 01 '24 16:01 12joan

I think this will be fixed by #3064

felixfeng33 avatar Apr 19 '24 03:04 felixfeng33

Slate's mergeNodes behavior

felixfeng33 avatar Apr 19 '24 03:04 felixfeng33