我写的这个module是对richeditor-android进行了封装,把常用的集成进来,并对页面布局进行了优化, 你们要用的话直接下载这个项目,进行导入即可使用。 集成的内容如下
如果功能觉得不够多里面MainActivity里面的类集成了更多,我现在只是隐藏了,需要更多富文本请看源码 把AndroidManifest.xml文件里的启动类改成MainActivity,现在启动类是MainActivityTest
The module I wrote was encapsulation of richeditor-android, bringing in common integration and optimizing page layout.
You need to download the project directly and import it.
The content of the integration is as follows
Font thickening, font underline, italic, font color modification, font size change, and inserting pictures, generating HTML, combining WebView, and with reference function.
If the function doesn't feel enough, the class in MainActivity is integrated more. I'm just hiding now. I need more rich text. Please look at the source code.
Change the startup class in the AndroidManifest.xml file to MainActivity, and now the startup class is MainActivityTest.
The point is that the wake-up keyboard also gets the focus, and the priority is higher than the previous two, so when the keyboard is hidden, some of the functions in the editor fail, so it has to be in Android Manifest. xml.
Add attributes inside so that the keyboard does not take the initiative to hide.
If you feel satisfied, can you leave your little heart?
demo图片如下