Wrong numbering for list items at the end of list when added again (numbered and reversed). #11408
Labels
package:list
squad:core
Issue to be handled by the Core team.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
2. select two (or more) list items from the end and use the numbered list button to change them to paragraphs:
3. Use the same button to change them back to list items.
✔️ Expected result
The numbered list looks like at the beginning, is numbered from 5.
The reversed list is still reversed.
❌ Actual result
The list is numbered from 1 in both cases: numbered list and reversed list.
❓ Possible solution
I noticed that in the model, the last two items get wrong
listStart
attribute value (1
instead of5
), whilst the first three list items have this attribute set to5
. In case of reversed list, the last two list items getlistReversed
attribute value set twofalse
, whilst the rest have this attribute set totrue
.📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: