EditContext API demo

The EditContext API makes it possible for web authors to produce more sophisticated editing experiences than what other editable regions on the web allow, without having to resort to complicated solutions that may negatively impact accessibility.

For more information, see the EditContext API specification. MDN documentation coming soon.

Editable DIV

Focus the DIV element below and start typing. Typing should work just like in any editable region, with support for IME.
The element doesn't use the contenteditable attribute and is not a textarea element. Instead, it uses the EditContext API.