-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Unexpected text deletion on selection related to dead keys #6893
Comments
```
```
Attached patch seems to help with this. |
silverwind
added a commit
to silverwind/gitea
that referenced
this issue
Aug 20, 2022
Includes fix for codemirror/codemirror5#6893.
silverwind
added a commit
to silverwind/gitea
that referenced
this issue
Aug 20, 2022
Includes fix for codemirror/codemirror5#6893.
zeripath
pushed a commit
to go-gitea/gitea
that referenced
this issue
Aug 21, 2022
Includes fix for codemirror/codemirror5#6893.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On macOS with Browsers Firefox 99 or Safari 15 (but not in Chrome 99), there is a bug where Codemirror unexpectedly deletes content when accent characters like
`
are present and when the current keyboard layout has that key as a dead key. Disabling the dead key in the keyboard layout eliminates the issue.Here's an example of entering a text with backtick characters and then using the mouse to select the content via a drag action:
For comparison, a regular
<textarea>
does not show such issues:The text was updated successfully, but these errors were encountered: