Skip to content

Nested ordered (numbered) lists use the same numerals at each level #202

@bennettrogers

Description

@bennettrogers

Do you want to request a feature or report a bug?
A bug

What is the current behavior?
Nesting ordered lists uses the same set of numerals at each nesting level.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. GIFs and screenshots are very helpful too.
Create an ordered list. Add one item. Press enter, then press tab to indent one level and add another item. Both items will be labeled with 1.

What is the expected behavior?
I would expect the nested levels to use different characters, for example the way draft.js does it (the first level uses 1., the second level uses a., the third level uses i., etc.

Which versions of Draftail + Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draftail or Draft.js?
I'm not sure if this has ever worked, but I couldn't find a related issue. I'm testing on the Demo page for Draftail which seems to be using version 1.2.1, and on the demo page for draft.js which is probably using a recent version (I can't see a version string on the page though).

Screenshots below.

draft.js
image

Draftail
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions