项目作者: onecode369

项目描述 :
Android Rich Text Editor
高级语言: Kotlin
项目地址: git://github.com/onecode369/WYSIWYG.git
创建时间: 2020-02-10T04:36:07Z
项目社区:https://github.com/onecode369/WYSIWYG

开源协议:Apache License 2.0

下载


WYSIWYG

License

WYSIWYG is a Rich Text Editor for Android made in Kotlin

Demo

Toolbar Preview

Supported Functions

Undo

Redo

Bold

Italic

Subscript

Superscript

Strikethrough

Underlined

Header 1

Header 2

Header 3

Header 4

Header 5

Header 6

TextColor

BackgroundColor

Intdent

Outdent

Text Align Left

Text Align Center

Text Align Right

Text Align Justify All

Ordered List

Unordered List

Quote

Insert Image

Insert Link

Insert Code

Write equations with LaTeX ( works only when you are connected to internet )

Todolist List

Changeable Atributes of Editor

Font Size

Background Color

Width

Height

Placeholder

Load CSS

State Callback

How you can add it to your app

Add this in your root build.gradle at the end of repositories:

  1. allprojects {
  2. repositories {
  3. ...
  4. maven { url 'https://jitpack.io' }
  5. }
  6. }
  1. dependencies {
  2. implementation 'com.github.onecode369:WYSIWYG:$WYSIWYG_version'
  3. }

How to implement WYSIWYG Editor to your app

Adding editor to your layout

You can see the XML file to understand how to implement it to your app

Using it with your application

You can see the Activity File to understand how to use it


Works on Android SDK 21 and above


My Thank’s goes to CodeCogs ( Open Source Scientific Library ) for LaTeX images


Devloped by “One Code” - @onecode369