The order list with index error
Closed this issue · 3 comments
Do you want to request a feature or report a bug?
I think is a bug
What is the current behavior?
the order list with error-index when inserting some text into 2 order list.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
the demo link: http://www.roserobertson.me/markdown-draft-js/
To Test:
- Enter some text between the two OrderLists
there are some videos and screenshots for regression. The following:
What is the expected behavior?
With correct index
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Chrome Version 79.0.3945.88 (Official B
uild) (32-bit)
Thanks very much for this report! I'll take a look when I have a chance 😊
Also running into this on a project called Flow, it appears to have been solved here, though no coverage has been added for it. I'll look at adding that.
Merged into main, still need to publish a new release with the fix