Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Item Numbering Not Working #234

Closed
Shusek opened this issue Apr 3, 2024 · 1 comment · Fixed by #240
Closed

List Item Numbering Not Working #234

Shusek opened this issue Apr 3, 2024 · 1 comment · Fixed by #240

Comments

@Shusek
Copy link

Shusek commented Apr 3, 2024

Description:
List items in lack numbering.

Steps to Reproduce:

   val state = rememberRichTextState()
     val text =
         "<ol>  <li>test1</li> <li>test2</li></ol>   "
    state.setHtml(content)
    state.selection = TextRange.Zero
    RichTextEditor(
        state = state,
        readOnly = true,
    )

Expected Behavior:
List items should display sequential numbering.

Actual Behavior:
List items are numbered only with "1" number.

Obraz 3 04 2024, godz  12 03

@MohamedRejeb
Copy link
Owner

Thanks for reporting this issue. I will check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants