{"repo":"MohamedRejeb/compose-rich-editor","free":true,"listed":false,"github":"https://github.com/MohamedRejeb/compose-rich-editor","clone":"git clone https://github.com/MohamedRejeb/compose-rich-editor.git","description":"A Rich text editor library for both Jetpack Compose and Compose Multiplatform, fully customizable, supports HTML and Markdown.","language":"Kotlin","stars":1829,"topics":["android","android-library","compose","compose-android","compose-desktop","compose-ios","compose-multiplatform","compose-ui","compose-web","kmp"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Compose Rich Editor A rich text editor library for both Jetpack Compose and Compose Multiplatform, fully customizable and supports the common rich text editor features - Multiplatform : Compose Rich Editor supports Compose Multiplatform (Android, iOS, Desktop, Web). - Easy to use : Compose Rich Editor's API leverages Kotlin's language features for simplicity and minimal boilerplate. - WYSIWYG : Compose Rich Editor is a WYSIWYG editor that supports the most common text styling features. - Undo / Redo : Built-in rich-text-aware undo/redo ( state.history ) that respects formatting, overriding BasicTextField 's default. --- Screenshots Slack Demo Html to Rich Text Markdown to Rich Text Download Compose Rich Editor is available on mavenCentral() . Compatibility Kotlin version Compose version Compose Rich Editor version ---------------- ----------------- ----------------------------- 2.4.0 1.11.1 1.0.0 2.3.21 1.10.3 1.0.0-rc14 2.1.21 1.8.2 1.0.0-rc13 2.1.10 1.7.3 1.0.0-rc11 2.0.21 1.7.0 1.0.0-rc10 2.0.20 1.6.11 1.0.0-rc09 2.0.10 1.6.11 1.0.0-rc06 2.0.0 1.6.10 1.0.0-rc05-k2 1.9.24 1.6.10 1.0.0-rc05 Quick Start RichTextState Use RichTextEditor composable to create a rich text editor. The RichTextEditor composable requires a RichTextState to manage the editor's state. To create a RichTextState , use the rememberRichTextState function: Styling Spans To style spans, RichTextState provides toggleSpanStyle method: To get the current span style of the selection, use RichTextState.currentSp","default_branch":null,"files":null,"tree":[],"storefront":"/r/MohamedRejeb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MohamedRejeb/compose-rich-editor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}