Documentation
RichEditor
Android WYSIWYG Rich editor for Jetpack compose.
Features
The editor offers the following options:
- Bold
- Italic
- Underline
- Different Heading
How to add in your project
Add the dependency
implementation 'com.canopas.editor:rich-editor-compose:X.X.X'
How to use ?
@Composable
fun Sample() {
val context = LocalContext.current
val state = remember {
val input = /* YOUR INPUT */
RichEditorState.Builder()
.setInput(input)
.adapter(JsonEditorParser())
.build()
}
RichEditor(
state = state,
modifier = Modifier
.fillMaxWidth()
.weight(1f)
.border(1.dp, Color.Gray)
.padding(5.dp)
)
}
Demo
Sample app demonstrates how simple the usage of the library actually is.
Bugs and Feedback
For bugs, questions and discussions please use the Github Issues.
Credits
RichEditor for compose is owned and maintained by the Canopas team. For project updates and releases, you can follow them on X at @canopassoftware.
ComposeRichEditor: https://github.com/MohamedRejeb/Compose-Rich-Editor
Licence
Copyright 2023 Canopas Software LLP
Licensed under the Apache License, Version 2.0 (the "License");
You won't be using this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Similar Libraries
ExtendedSpans
Custom spans in Compose UI - saket.me/compose-custom-text-spans/
Text
Markdown Composer
Markdown rendering in Compose
TextMarkdown
Compose Richtext
A collection of Compose libraries for working with rich text formatting and documents
TextMarkdown
MarkdownTwain
A Jetpack Compose UI library for editing Markdown content on Android, based on Markwon
TextMarkdown
Browse by Category

Be the first to discover new Compose libraries
Curated Insights
Digest in 5 minutes or less
Android Analysis
Entertaining takes on happenings
Insider Tips
From top Android developers
Hidden Gems
You won't find elsewhere
"
"Dispatch is a must read for Android devs today and my go-to for keeping up with all things Jetpack Compose. I eagerly await each issue, not just for the Compose gems honestly but for Vinay's unique insights, stories, and finds. The Dev Delight and Featured Dev sections are particular favorites of mine! He really should do a podcast."
— Kaushik Gopal
Principal Engineer @ Instacart | Host of the Fragmented Podcast | GDE for Android
Join thousands of Android devs who look forward to Dispatch every week
© 2026 All Rights Reserved | Made by Vinay Gaba
