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
980 stars 60 forks source link

Problem saving formatted text #162

Open Efimj opened 8 months ago

Efimj commented 8 months ago

Hello. I'm facing an issue with preserving formatted text. When I add a code block to the text, toHtml() doesn't include the necessary tag, and vice versa, not all tags are present in Markdown. Help me save the text with all the styles?

MohamedRejeb commented 8 months ago

Hi, True, I will add an html tag for the code block. For markdown, I'm still working on covering all tags.

Efimj commented 8 months ago

When is the next release planned?

MohamedRejeb commented 8 months ago

Hopefully this week.

MohamedRejeb commented 8 months ago

Now the code span is saved in the Html with this tag name <code-span>