案例 ce-0022 · 场景 scenario-ime-enter-breaks

Composition is cancelled when pressing Enter inside contenteditable

操作系统: Windows 11 设备: Desktop or Laptop Any 浏览器: Firefox 120.0 键盘: Korean IME 草稿
imecompositionenterfirefox

此页面尚未翻译

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

Phenomenon

When using a Korean IME (Input Method Editor) in Firefox on Windows, pressing Enter during composition cancels the composition instead of committing it. This breaks the expected IME workflow.

Reproduction example

  1. Create a contenteditable div.
  2. Switch to Korean IME.
  3. Start typing Korean characters (e.g., “한글”).
  4. While the composition is active (characters are still being composed), press Enter.

Observed behavior

  • In Firefox on Windows with Korean IME, pressing Enter cancels the composition.
  • The partially composed characters are lost.
  • The Enter key does not commit the composition as expected.

Expected behavior

  • Pressing Enter during IME composition should commit the composed characters.
  • The composition should complete and the characters should be inserted into the contenteditable.

此场景的变体

案例 操作系统 浏览器 状态
ce-0002 Windows 11 Chrome 120.0 草稿
ce-0022 Windows 11 Firefox 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: Firefox 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.