-
Notifications
You must be signed in to change notification settings - Fork 913
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 theeditor-change
listening function, this range will automatically become the range before pastingReactQuill version
4f6348ef-d9c6-4302-bee1-bfa0f3525f07.zip
The text was updated successfully, but these errors were encountered: