Incorrect numbering in the ordered lists
MaxTyulin opened this issue · 1 comments
MaxTyulin commented
shevnv commented
it happens because transform has two mutually exclusive functionalities for numbered lists.
The first is feature for sublist with complex counters(1.1, 1.1.1 etc). it's enabled by default in diplodoc-platform/transform
.
The second is functionality which give you opportunity to start list from any number, not only 1. It's enabled by default in markdown-it
.
In wysiwyg, we had a lot of complains about disabled second functionality, so we disabled the first by adding class yfm_no-list-reset
to wysiwyg root-node.
My suggestions, in this issue, Let's try to combine both functionalities, so It helps wisywig not to decide which functionality is more important.