-
-
Notifications
You must be signed in to change notification settings - Fork 114
-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Paste over selection #39
Comments
|
Can you make pr this change? |
mike76-dev
added a commit
to mike76-dev/codejar
that referenced
this issue
Nov 30, 2020
Done. |
antonmedv
pushed a commit
that referenced
this issue
Dec 1, 2020
Your solution was wrong. Fixed it in 84aaec0 |
Was it? Well, to be honest, I just used some of your code in browser js where it did show this issue and my solution was able to fix it. Sorry if it didn't work out for you. Appreciate your work though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a part of text is selected, paste replaces it but the caret moves by textToPaste.length (desired) + selection.length (undesired). When no text is selected, the behavior is as expected.
The text was updated successfully, but these errors were encountered: