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

Why setHtml(String content) move cursor to first position? #115

Closed
praveenbbhati opened this issue May 12, 2017 · 2 comments
Closed

Why setHtml(String content) move cursor to first position? #115

praveenbbhati opened this issue May 12, 2017 · 2 comments

Comments

@praveenbbhati
Copy link

Hi,
In onTextChange() method i'm changing content and use setHtml() method but all the time, it's moving cursor to first position. May i know why this is happening?

@shah-xad
Copy link

try this after setHtml()
mEditor.clearFocusEditor();
mEditor.focusEditor();

@liuchenc
Copy link

After sethhtml (), clicking the undo button is invalid. How to resolve it

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

3 participants