Skip to content

Commit

Permalink
Added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset committed Dec 20, 2023
1 parent 967944d commit c31392d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions edit-context/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,18 @@
<body>
<h1>EditContext API demos</h1>

<p>The <strong>EditContext</strong> 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.</p>
<p>For more information, see the <a href="https://w3c.github.io/edit-context/">EditContext API specification</a>. MDN documentation coming soon.</p>

<h2>Editable DIV</h2>

<p>Focus the DIV element below and start typing. Typing should work just like in any editable region, with support
for
IME.<br>
The element doesn't use the <code>contenteditable</code> attribute and is not a <code>textarea</code> element.
Instead, it uses the <strong>EditContext</strong> API.</p>
<p>The <strong>EditContext</strong> 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.</p>

<div id="div-editor" spellcheck="false"></div>

Expand Down

0 comments on commit c31392d

Please sign in to comment.