Skip to content

shake863/WordPress-Editor-Android

 
 

Repository files navigation

WordPress-Editor-Android

Build Status

Introduction

WordPress-Editor-Android is the text editor used in the WordPress Android app to create and edit pages & posts. In short it's a simple, straightforward way to visually edit HTML.

Build Instructions

Post-checkout instructions for Windows, necessary to convert the assets symlink to a Windows symlink:

From git bash, inside the cloned project root:

$ rm WordPressEditor/src/main/assets
$ git ls-files --deleted -z | git update-index --assume-unchanged -z --stdin

Then, from a Windows command prompt:

mklink /D [PROJECT_ROOT]\WordPressEditor\src\main\assets %PROJECT_ROOT%\libs\editor-common\assets

Finally, update [PROJECT_ROOT]\.git\info\exclude to ignore the symlink locally:

# assets symlink
WordPressEditor/src/main/assets

Testing

This project has both unit testing and integration testing, maintained and run separately.

Unit testing is done with the Robolectric framework. To run unit tests simply run gradlew testDebug. Code coverage reports can be generated via JaCoCo. To generate them locally run gradlew jacocoTestReport.

Integration testing is done with the Android testing framework. To run integration tests run gradlew connectedAndroidTest.

Add new unit tests to src/test/java/ and integration tests to stc/androidTest/java/.

LICENSE

WordPress-Editor-Android is an Open Source project covered by the GNU General Public License version 2.

About

A reusable Android rich text editor component.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 41.3%
  • JavaScript 30.9%
  • HTML 25.9%
  • CSS 1.9%