EditContext API Test

Checking support…

Note: The EditContext API is limited availability and is mainly useful for custom text editors that render their own text. For normal form input, use <input>, <textarea>, or contenteditable.

Capability checks

window.EditContext
HTMLElement.prototype.editContext
Current text length 0
Selection start 0
Selection end 0
Composition active false

Custom editor

Click the editor below, then type. Try IME input, emoji input, arrow keys, Backspace, Delete, and selection updates through the buttons.

Actions

Status

Idle.

Event counts

textupdate 0
selectionchange 0
compositionstart 0
compositionend 0
textformatupdate 0

Raw state

{}

Last event

{}