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

Custom paste bug #1007

Open
1 task
Mass001-he opened this issue Sep 20, 2024 · 0 comments
Open
1 task

Custom paste bug #1007

Mass001-he opened this issue Sep 20, 2024 · 0 comments

Comments

@Mass001-he
Copy link

codesandbox:
https://codesandbox.io/p/sandbox/dm79j3

Bug description

Using the browser's copy and paste function, the cursor will jump back to the position before pasting.
After pasting, it is normal to use getSelection (true) to obtain the range, but in the editor-change listening function, this range will automatically become the range before pasting

ReactQuill version

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

1 participant