Git Product home page Git Product logo

rich-editor-compose's Introduction

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 Twitter 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.

rich-editor-compose's People

Contributors

cp-radhika-s avatar

Stargazers

Ian Kang'ethe avatar onKotlin avatar Jack avatar windedge avatar Georgi Eftimov avatar tinyfight avatar  avatar Ashish Kumar avatar Kaushalya Pradeep avatar Sami Eljabali avatar DkK avatar Megh Lath avatar Md. Mahmudul Hasan Shohag avatar Litrik De Roy avatar Christoph avatar Nikita Kleshchin avatar Muhammad Fiqri Muthohar avatar jherrero avatar  avatar Volodymyr Triapichko avatar Abhishek Bhardwaj avatar Harimurti Wibowo avatar AIT GACEM Nabil avatar rayworks avatar Ali Rahimpour avatar Pavel Kuznetsov avatar  avatar Artem Ivanchenko avatar  avatar Pawel Cala avatar Braden Farmer avatar Dario Miličić avatar  avatar  avatar Tausif avatar  avatar Javi Chaqués avatar Guillem avatar 柚子爱好者 avatar Yaxi Ye avatar brownsoo avatar  avatar Jagruti Ahire avatar Amisha Canopas avatar  avatar sidhdhi canopas avatar Dharti Ramoliya avatar Art Shendrik avatar  avatar Sneha Canopas avatar Darpan Vithani avatar Weslley Bezerra dos Santos avatar  avatar  avatar  avatar  avatar Mayank Variya avatar Pratik Canopas avatar Divyesh Canopas avatar Sumita Canopas avatar Mansi Canopas avatar

Watchers

Jimmy Sanghani avatar Darpan Vithani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.