MohamedRejeb / compose-rich-editor

A Rich text editor library for both Jetpack Compose and Compose Multiplatform, fully customizable, supports HTML and Markdown.
https://mohamedrejeb.github.io/compose-rich-editor/
Apache License 2.0
1.17k stars 76 forks source link

How to disable Automatic Ordered list and Unordered Listing? #409

Open PamAllay opened 1 week ago

PamAllay commented 1 week ago

Hi, when i type "1. something." then click enter then it automatically created 2. and if enter again then 3. and so on.

My issue is when i write e.g. "57. Something" it automatically converts "57." into "5." Can it be corrected? so parsing will work correctly and doesn't e.g. convert "57." into "5.".

Also, can if be configured to make the automatic listing to work only when its manually toggled on and not automatically? is it possible?

MohamedRejeb commented 1 week ago

Thanks for opening this issue. You are right I think it's important to make this optional. For now there's no way to do it, but I will work on it.

MohamedRejeb commented 1 week ago

This should fix the issue partially #416 when you type 57. it's going to change to 5.