{"id":13645389,"url":"https://github.com/Hitomis/SortRichEditor","last_synced_at":"2025-04-21T14:30:53.257Z","repository":{"id":133450177,"uuid":"60176069","full_name":"Hitomis/SortRichEditor","owner":"Hitomis","description":"A rich text editor that supports drag sorting","archived":false,"fork":false,"pushed_at":"2016-07-20T03:47:45.000Z","size":183526,"stargazers_count":327,"open_issues_count":4,"forks_count":64,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-08-02T01:25:20.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hitomis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-06-01T12:43:39.000Z","updated_at":"2024-06-06T14:38:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"257ecd89-b129-4604-9fce-600909241b20","html_url":"https://github.com/Hitomis/SortRichEditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hitomis%2FSortRichEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hitomis%2FSortRichEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hitomis%2FSortRichEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hitomis%2FSortRichEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hitomis","download_url":"https://codeload.github.com/Hitomis/SortRichEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223868113,"owners_count":17217032,"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":[],"created_at":"2024-08-02T01:02:34.380Z","updated_at":"2025-04-21T14:30:53.234Z","avatar_url":"https://github.com/Hitomis.png","language":"Java","readme":"# SortRichEditor\n\n支持图片文字混合编辑、排序的富文本编辑器\n\n目前暂时支持的功能：\n\n - 支持图片文字混合添加、修改、删除\n - 支持文字中间随意插入一张或多张图片\n - 支持图片文字任意排序\n\n\n# Preview\n\n由于 gif 图片较大，网速不好的童鞋请耐心等待... 如果发现图片里面卡，那是还在缓冲。真实项目是很流畅的\n\n\u003cimg src=\"preview/SortRichEditor.gif\"/\u003e\n\n\n# Usage\n\n目前没有做很好的封装，如果需要使用SortRichEditor，请复制 editor 包中全部文件到您的项目当中 \u003cbr/\u003e\n以及以下三张图标资源文件 \u003cbr/\u003e\n- icon_add_text.png (xhdpi)\n- icon_delete.png (xhdpi)\n- icon_empty_photo.png (xhdpi)\n\ncopy完成后，在布局文件中使用\n```\n    \u003ccom.hitomi.sortricheditor.view.editor.SortRichEditor\n        android:id=\"@+id/richEditor\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:background=\"#fff\" /\u003e\n```\nSortRichEditor不包含照片墙、选择照片插入照片、拍照插入等功能，SortRichEditor只提供可插入图片的方法\n如果需要以上功能，可以参照本项目其他代码。以后会将这些功能组件封装在里面。\n\n\n# TODO\n\n- [x] 图片压缩问题防止OOM\n- [x] 优化插入图片的速度\n- [x] 优化软键盘的显示和隐藏\n- [ ] 重构SortRichEditor类\n\n# Thanks\n- [@xmuSistone][1]\n- [@张鸿洋][2]\n\n\n[1]: https://github.com/xmuSistone/android-animate-RichEditor\n[2]: https://github.com/hongyangAndroid\n","funding_links":[],"categories":["编辑器"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHitomis%2FSortRichEditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHitomis%2FSortRichEditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHitomis%2FSortRichEditor/lists"}