{"id":13848454,"url":"https://github.com/wasabeef/richeditor-android","last_synced_at":"2025-05-13T23:06:49.690Z","repository":{"id":29594232,"uuid":"33134213","full_name":"wasabeef/richeditor-android","owner":"wasabeef","description":"RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android.","archived":false,"fork":false,"pushed_at":"2024-05-21T09:52:28.000Z","size":2898,"stargazers_count":6306,"open_issues_count":221,"forks_count":1205,"subscribers_count":187,"default_branch":"master","last_synced_at":"2025-05-12T17:23:19.456Z","etag":null,"topics":["android","android-library","wysiwyg-editor"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasabeef.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"wasabeef","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-03-30T16:19:20.000Z","updated_at":"2025-05-08T06:01:17.000Z","dependencies_parsed_at":"2024-01-15T20:56:47.557Z","dependency_job_id":"41b028c2-cfd0-4fc8-8b4f-234c8b50d8b1","html_url":"https://github.com/wasabeef/richeditor-android","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fricheditor-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fricheditor-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fricheditor-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fricheditor-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabeef","download_url":"https://codeload.github.com/wasabeef/richeditor-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254040976,"owners_count":22004641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","wysiwyg-editor"],"created_at":"2024-08-04T19:00:49.622Z","updated_at":"2025-05-13T23:06:44.673Z","avatar_url":"https://github.com/wasabeef.png","language":"Java","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dev/packages/flutter_gen\"\u003e\n    \u003cimg src=\"https://github.com/wasabeef/richeditor-android/raw/master/art/logo.png\" width=\"480px\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://android-arsenal.com/details/1/1696\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Android%20Arsenal-richeditor--android-brightgreen.svg?style=flat\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.apache.org/licenses/LICENSE-2.0\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-Apache%202-blue.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://search.maven.org/artifact/jp.wasabeef/richeditor-android\"\u003e\n    \u003cimg src=\"https://maven-badges.herokuapp.com/maven-central/jp.wasabeef/richeditor-android/badge.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n`RichEditor for Android` is a beautiful Rich Text `WYSIWYG Editor` for `Android`.\n\n- _Looking for iOS? Check out_ [cjwirth/RichEditorView](https://github.com/cjwirth/RichEditorView)\n\nSupported Functions\n---\n\n![Toolbar](./art/demo.gif)\n\n- [x] Bold\n- [x] Italic\n- [x] Subscript\n- [x] Superscript\n- [x] Strikethrough\n- [x] Underline\n- [x] Justify Left\n- [x] Justify Center\n- [x] Justify Right\n- [x] Blockquote\n- [x] Heading 1\n- [x] Heading 2\n- [x] Heading 3\n- [x] Heading 4\n- [x] Heading 5\n- [x] Heading 6\n- [x] Undo\n- [x] Redo\n- [x] Indent\n- [x] Outdent\n- [x] Insert Image\n- [x] Insert Youtube\n- [x] Insert Video\n- [x] Insert Audio\n- [x] Insert Link\n- [x] Checkbox\n- [x] Text Color\n- [x] Text Background Color\n- [x] Text Font Size\n- [x] Unordered List (Bullets)\n- [x] Ordered List (Numbers)\n\nAttribute change of editor\n---\n- [x] Font Size\n- [x] Background Color\n- [x] Width\n- [x] Height\n- [x] Placeholder\n- [x] Load CSS\n- [x] State Callback\n\n**Milestone**\n\n- [ ] Font Family\n\nDemo\n---\n\n![Demo](./art/demo2.gif)\n\nHow do I use it?\n---\n\n### Setup\n\n##### Gradle\n```groovy\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'jp.wasabeef:richeditor-android:2.0.0'\n}\n```\n### Default Setting for Editor\n---\n\n**Height**\n```java\neditor.setEditorHeight(200);\n```\n\n**Font**\n```java\neditor.setEditorFontSize(22);\neditor.setEditorFontColor(Color.RED);\n```\n\n**Background**\n```java\neditor.setEditorBackgroundColor(Color.BLUE);\neditor.setBackgroundColor(Color.BLUE);\neditor.setBackgroundResource(R.drawable.bg);\neditor.setBackground(\"https://raw.githubusercontent.com/wasabeef/art/master/chip.jpg\");\n```\n\n**Padding**\n```java\neditor.setPadding(10, 10, 10, 10);\n```\n\n**Placeholder**\n```java\neditor.setPlaceholder(\"Insert text here...\");\n```\n\n**Others**  \nPlease refer the [samples](https://github.com/wasabeef/richeditor-android/blob/master/sample/src/main/java/jp/wasabeef/sample/MainActivity.java) for usage.\n\n### Functions for ContentEditable\n---\n\n**Bold**\n```java\neditor.setBold();\n```\n\n**Italic**\n```java\neditor.setItalic();\n```\n\n**Insert Image**\n```java\neditor.insertImage(\"https://raw.githubusercontent.com/wasabeef/art/master/twitter.png\",\"twitter\");\n```\n\n**Text Change Listener**\n```java\nRichEditor editor = (RichEditor) findViewById(R.id.editor);\neditor. setOnTextChangeListener(new RichEditor.OnTextChangeListener() {\n  @Override\n  public void onTextChange(String text) {\n    // Do Something\n     Log.d(\"RichEditor\", \"Preview \" + text);\n  }\n});\n```\n\n**Others**  \nPlease refer the [samples](https://github.com/wasabeef/richeditor-android/blob/master/sample/src/main/java/jp/wasabeef/sample/MainActivity.java) for usage.\n\nRequirements\n--------------\nAndroid 4+\n\nApplications using RichEditor for Android\n---\n\nPlease [ping](mailto:dadadada.chop@gmail.com) me or send a pull request if you would like to be added here.\n\nIcon | Application\n------------ | -------------\n\u003cimg src=\"https://lh6.ggpht.com/6zKH_uQY1bxCwXL4DLo_uoFEOXdShi3BgmN6XRHlaJ-oA1svmq6y1PZkmO50nWQn2Lg=w300-rw\" width=\"48\" height=\"48\" /\u003e | [Ameba Ownd](https://play.google.com/store/apps/details?id=jp.co.cyberagent.madrid)\n\u003cimg src=\"https://lh3.googleusercontent.com/st_DiIlM148vzG23ccujtBzx0tMeb7cDC5fDmLSERS-Nr8M_F-PTw4W_jWJsH9mO_b4=w300-rw\" width=\"48\" height=\"48\" /\u003e | [ScorePal](https://play.google.com/store/apps/details?id=com.hfd.scorepal)\n\nDeveloped By\n-------\nDaichi Furiya (Wasabeef) - \u003cdadadada.chop@gmail.com\u003e\n\n\u003ca href=\"https://twitter.com/wasabeef_jp\"\u003e\n\u003cimg alt=\"Follow me on Twitter\"\nsrc=\"https://raw.githubusercontent.com/wasabeef/art/master/twitter.png\" width=\"75\"/\u003e\n\u003c/a\u003e\n\nThanks\n-------\n\n* Inspired by `ZSSRichTextEditor` in [nnhubbard](https://github.com/nnhubbard/ZSSRichTextEditor).\n\nLicense\n-------\n\n    Copyright (C) 2020 Wasabeef\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":["https://github.com/sponsors/wasabeef"],"categories":["Java","Libs","编辑器"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","资源传输下载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fricheditor-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabeef%2Fricheditor-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fricheditor-android/lists"}