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

Text deletion on selection (Chinese input) #7021

Open
devnaumov opened this issue Feb 23, 2023 · 1 comment
Open

Text deletion on selection (Chinese input) #7021

devnaumov opened this issue Feb 23, 2023 · 1 comment

Comments

@devnaumov
Copy link

devnaumov commented Feb 23, 2023

We are experiencing unexpected text deletion on selection when typing in Chinese. When we type something in Chinese and then try to select parts of the text, it disappears. The reason for this is that CodeMirror fires an event with "text": "". This issue started to happen since version 5.65.8, which may be related to the following fixes:

  • Include direction override and isolate characters in the default set of special characters.
  • Fix an issue that could cause document corruption when mouse-selecting during composition.

We are still experiencing this problem on the latest release, version 5.65.12. Can you advise on what might be wrong?

Additional Information

  • Operating System: [Mac OS]
  • Browser: [Chrome. Version 109.0.5414.119 (Official Build) (arm64)]
  • CodeMirror version: 5.65.11

Thank you for your help in advance!

Screen.Recording.2023-02-23.at.13.44.58.mov

image

@devnaumov
Copy link
Author

Probably linked to the #6893

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