You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to start a numbered list with a specific number other than 1 using Plate.js, such as entering "5) A", it automatically converts to "1. A", ignoring the initial number input.
Reproduction URL
No response
Reproduction steps
1. When entering items in a standard sequence, like:
1) A
2) B
the numbering proceeds as expected.
However, if I attempt to start the list with a custom number, such as:
5) A
the list automatically resets to "1. A", disregarding the "5)" input.
This seems to be an issue with the NumberedListPlugin, which defaults the list numbering to 1, even if a different number is specified initially.
Expected Behavior
When entering a list item with a specific starting number, such as "5) A", it should retain the custom number input (5), instead of automatically resetting to "1".
Description
When trying to start a numbered list with a specific number other than 1 using Plate.js, such as entering "5) A", it automatically converts to "1. A", ignoring the initial number input.
Reproduction URL
No response
Reproduction steps
1. When entering items in a standard sequence, like: 1) A 2) B
the numbering proceeds as expected.
However, if I attempt to start the list with a custom number, such as:
the list automatically resets to "1. A", disregarding the "5)" input.
This seems to be an issue with the NumberedListPlugin, which defaults the list numbering to 1, even if a different number is specified initially.
Expected Behavior
When entering a list item with a specific starting number, such as "5) A", it should retain the custom number input (5), instead of automatically resetting to "1".
The text was updated successfully, but these errors were encountered: