Skip to content

Android Rich Text Editor With customized spans - 富文本编辑器 - Don't miss this one :)

License

Notifications You must be signed in to change notification settings

sidthakkar12/Android-Rich-text-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARE

Android Rich text Editor (中文说明见这里)

If you are looking for a good rich text editor on Android, DON'T MISS THIS ONE!

It's still in progress now, welcome fork and join me!

I published colorpicker and emojipicker as standalone components so they can be reused in other projects easily.

This is implemented by Java

image

Supported styles:

  • Bold
  • Italic
  • Underline
  • Strikethrough
  • Numeric list
  • Bullet list
  • Align left
  • Align center
  • Align right
  • Insert image
  • Background color
  • Hyper link
  • @
  • Quote
  • Foreground color
  • Emoji icon
  • Superscript - NEW in 0.0.4
  • Subscript - NEW in 0.0.4
  • Font size - NEW in 0.0.4
  • All styles support save as HTML file

Released v0.0.4 Plan for v0.0.7, target on 2018-04-30 (Hope we can make it):

  • Video
  • Audio

Further plan for v0.1.0, target on 2018-05-31:

  • Save editings to local SQLite
  • Notes list

0.1.0 is for saving and list, note review plan to be 0.1.1, re-edit plan to be 0.1.2. If you have any urgent feature request, just open issues then I will reorder the todo items.

Demo for Font size (New in 0.0.4):

image

Demo for Superscript & Subscript feature (New in 0.0.4):

image

Demo for quote feature (0.0.3):

image

Demo for font color feature (0.0.3):

image

Demo for emoji feature (0.0.3):

image

In progress items:

  • Video
  • Audio
  • Font family
  • Indent right
  • Indent left
  • Save editings to local SQLite
  • Notes list

How to use? Before the general release, you need to checkout the code and add this to a layout file and include the layout file in your Activity. Just refer to the MainActivity.java in the source code.

<com.chinalwb.are.AREditor xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/areditor"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@android:color/white" />

You can download the APK here:

Click ARE_20180405_0.0.4.apk to download

Known issues:

  • Background color - cursor invisible when put it in the range of BackgroundColorSpan

If you find my work is helpful to you or you are start using my code, you don't need to buy me a coffee, just could you please send me a "✨"? Your * encourages me to make more features open source, thanks for your support. You can contact me at 329055754@qq.com if you need any customization or any suggestion.

About

Android Rich Text Editor With customized spans - 富文本编辑器 - Don't miss this one :)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Kotlin 0.2%