editor-js / list

Advanced List tool for the Editor.js.
MIT License
48 stars 47 forks source link

List numbering does not update after deleting an item #99

Closed morvit closed 2 weeks ago

morvit commented 2 weeks ago

When deleting an item in the middle of a numbered list, the numbers do not update automatically (the list plugin does update them). This results in incorrect numbering.

2024-11-02_12-39-02

e11sy commented 2 weeks ago

So what is expected behaviour for case in picture (i do not see the bug clearly) could you please explain?

morvit commented 2 weeks ago

Strange, can't reproduce. Previously, it worked like this: there were items 1,2,3,4,5, and when item 3 was deleted, items 1,2,4,5 remained.