A reusable Android rich text editor component.
Java JavaScript CSS HTML
Switch branches/tags
Nothing to show
Pull request Compare This branch is 21 commits ahead, 414 commits behind wordpress-mobile:develop.
Failed to load latest commit information.
WordPressEditor Fixed double spacing on Android Oct 6, 2016
example Moved example JS folder to example app assets Jul 8, 2016
gradle/wrapper update gradle wrapper to 2.14 Jun 15, 2016
.travis.yml Updated Travis config for Android 24 Jun 23, 2016
LICENSE.md Update wpeditor May 1, 2015
README.md Moved JS tests out of editor assets folder, to test/js Jul 8, 2016
gradlew.bat first commit Feb 4, 2015
settings.gradle Changed WordPress-Utils-Android dependency to maven artifact Apr 1, 2015



Build Status


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.


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.

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

JavaScript Tests

This project also has unit tests for the JS part of the editor using Mocha.

To be able to run the tests, npm and Mocha (npm install -g mocha) are required.

With npm and Mocha installed, from within WordPressEditor/src/test/js, run:

npm install chai

And then run mocha inside the same folder:

cd WordPressEditor/src/test/js; mocha test*; cd -


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