Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Chinese IME composition deletes preceding text in code cells on Google Chrome #1684

@twenjun879

Description

@twenjun879

Discription

I came across this problem when i am using a Chinese IME in https://codemirror.net/try/ in chrome.

When i try to type in chinese, the text/code immediately preceding the cursor gets deleted. The Chinese IME i am using is microsoft Chinese IME. The problem persists in a Chrome Incognito window, however it does not occur when i use microsoft edge.

I am using chrome 148.0.7730.2

Reproduce

  1. Open https://codemirror.net/try/ in chrome
  2. Use a Chinese IME (e.g.,microsoft chinese ime) and start to type in chinese right behind the English code
  3. The end of English code get deleted.
    ( and if you try to type chinese in the middle of a code cell, more content get deleted)

Context

Operating System and version: Windows 11
Browser and version: chrome 148.0.7730.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions