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

When listIndent is set to 0, the number of the ordered list will disappear #296

Open
jinyu0712 opened this issue Jun 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jinyu0712
Copy link

When listIndent is set to 0 in RichTextEditor, the number of the ordered list will disappear.
`
Column {

val state = rememberRichTextState()
state.config.listIndent = 0

Button(onClick = {
    if (state.isOrderedList) {
	    state.removeOrderedList()
    } else {
	    state.toggleOrderedList()
    }
}) {
    Text(text = "ol", color = Color.White)
}

RichTextEditor(state = state)

}
`

@MohamedRejeb
Copy link
Owner

Hi,
Thanks for reporting this issue, I will check it.

@MohamedRejeb MohamedRejeb self-assigned this Jul 10, 2024
@MohamedRejeb MohamedRejeb added the bug Something isn't working label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants