案例 ce-0004 · 场景 scenario-ime-backspace-granularity

Backspace removes a whole composed syllable instead of a single jamo

操作系统: Windows 11 设备: Desktop or Laptop Any 浏览器: Chrome 120.0 键盘: Korean (IME) 草稿
compositionimebackspace

此页面尚未翻译

目前显示的是英文原文。欢迎您参与翻译工作。

Phenomenon

When editing Korean text in a contenteditable element, pressing Backspace removes the entire composed syllable instead of a single jamo. This makes fine-grained correction difficult and differs from native input fields on the same platform.

Reproduction example

  1. Focus the editable area.
  2. Activate a Korean IME.
  3. Type one composed syllable (for example, three jamo characters that form a syllable).
  4. Press Backspace once.

Observed behavior

  • The entire syllable is removed by a single Backspace press.
  • The event log shows only one beforeinput / input pair for the deletion.

Expected behavior

  • Each Backspace press removes a single jamo, matching how native inputs behave in the same OS, browser, and IME configuration.

Notes

  • Compare behavior with a plain <input> element in the same environment to confirm the difference.
  • This behavior can affect cursor movement, undo granularity, and diff calculation for text editors built on top of contenteditable.

此场景的变体

案例 操作系统 浏览器 状态
ce-0004 Windows 11 Chrome 120.0 草稿
ce-0030 macOS Ubuntu 22.04 Chrome 120.0 草稿

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Chrome 120.0
Keyboard: Korean (IME)
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.