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

(In order to make it better match the search key word: android rich text editor, I renamed it from ARE to 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, but I believe it will be (one of the) best open source Android rich text editor.

This is implemented by Java

image

Release 0.0.1:

  • Editing at ARE:

image

HTML Viewer shows:

image

Supported styles:

  • Bold
  • Italic
  • Underline
  • Strikethrough
  • Numeric list
  • Bullet list
  • Align left
  • Align center
  • Align right
  • Insert image
  • Background color - NEW in 0.0.2
  • Hyper link - NEW in 0.0.2
  • @ - NEW in 0.0.2
  • All styles support save as HTML file
  • Ehancements on ordered list and bullet list editing

Demo for @ feature:

image

@ demo html: image

Released v0.0.2 Plan for v0.0.3, target on 2018-03-31:

  • Quote
  • Emoji icon
  • Foreground color

In progress items:

  • Quote
  • Emoji icon
  • Foreground color
  • Font size
  • Font family
  • Indent right
  • Indent left

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_20180114_0.0.1.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%