케이스 ce-0016-undo-redo-inconsistent-ko · 시나리오 scenario-undo-redo-behavior

Undo 및 Redo 동작이 브라우저 간에 일관되지 않음

OS: Windows 11 기기: Desktop or Laptop Any 브라우저: Edge 120.0 키보드: US 초안
undoredobrowser-compatibility

현상

Undo 및 Redo 기능(Ctrl+Z / Ctrl+Y 또는 Cmd+Z / Cmd+Shift+Z)이 브라우저 간에 다르게 동작합니다. 일부 브라우저는 개별 키 입력을 되돌리는 반면, 다른 브라우저는 더 큰 작업을 되돌립니다. Undo 스택이 예상치 못하게 지워질 수도 있습니다.

재현 예시

  1. contenteditable div를 만듭니다.
  2. 여러 단어를 입력합니다.
  3. 서식을 적용합니다 (굵게, 기울임꼴).
  4. 더 많은 텍스트를 입력합니다.
  5. Undo(Ctrl+Z 또는 Cmd+Z)를 여러 번 누릅니다.
  6. 각 단계에서 무엇이 되돌려지는지 관찰합니다.

관찰된 동작

  • Windows의 Edge에서 undo는 개별 키 입력보다 전체 서식 작업을 되돌릴 수 있습니다.
  • contenteditable에서 포커스가 이동할 때 undo 스택이 지워질 수 있습니다.
  • 특정 작업 후 redo 동작이 일관되게 작동하지 않을 수 있습니다.

예상 동작

  • Undo는 예측 가능한 순서로 변경 사항을 되돌려야 합니다 (일반적으로 가장 최근 것부터).
  • Undo 스택은 contenteditable이 포커스를 유지하는 동안 지속되어야 합니다.
  • Redo는 되돌린 변경 사항을 역순으로 복원해야 합니다.

이 시나리오의 변형

케이스 OS 브라우저 상태
ce-0016-undo-redo-inconsistent-ko Windows 11 Edge 120.0 초안
ce-0037-undo-stack-cleared-ko macOS Ubuntu 22.04 Safari 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: Edge 120.0
Keyboard: US
Your environment
Sample HTML:
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.