Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编辑文本怎么实现? #2

Open
sendtion opened this issue Jun 20, 2016 · 3 comments
Open

编辑文本怎么实现? #2

sendtion opened this issue Jun 20, 2016 · 3 comments

Comments

@sendtion
Copy link

编辑文本怎么实现?
setRichEditText(content),没有这个方法啊

@KDF5000
Copy link
Owner

KDF5000 commented Jun 21, 2016

@sendtion 在RichEditText.java 的160行不是有setRichEditText方法吗?你说的编辑文本是不是已经保存了,然后又重新编辑?你可以把保存后文本按照要求的格式setRichEditText进去就可以。另外显示部分可以参考一下RichTextView,希望可以解决你的问题

@sendtion
Copy link
Author

@KDF5000 不行啊,打开文本编辑,显示出来的是默认图片

@KDF5000
Copy link
Owner

KDF5000 commented Jun 28, 2016

@sendtion 编辑的时候要传入你之前保存的内容,你检查一下,将内容打印出来看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants