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

Unable to add cursor at the end. #4146

Open
the-chand-babu opened this issue Apr 29, 2024 · 1 comment
Open

Unable to add cursor at the end. #4146

the-chand-babu opened this issue Apr 29, 2024 · 1 comment

Comments

@the-chand-babu
Copy link

quill.root.innerHTML = message.content;
let length = quill.getLength();
quill.setSelection(length - 1, 0);

using a quill and pasting content using root innerHTML, after that cursor is not coming to an end.
@luin
Copy link
Member

luin commented Apr 29, 2024

Can you reproduce the issue in https://quilljs.com/playground/snow?

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

No branches or pull requests

2 participants