Skip to content

Commit c31392d

Browse files
Added docs
1 parent 967944d commit c31392d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

edit-context/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,18 @@
163163
<body>
164164
<h1>EditContext API demos</h1>
165165

166+
<p>The <strong>EditContext</strong> API makes it possible for web authors to produce more sophisticated editing
167+
experiences than what other editable regions on the web allow, without having to resort to complicated solutions
168+
that may negatively impact accessibility.</p>
169+
<p>For more information, see the <a href="https://w3c.github.io/edit-context/">EditContext API specification</a>. MDN documentation coming soon.</p>
170+
166171
<h2>Editable DIV</h2>
167172

168173
<p>Focus the DIV element below and start typing. Typing should work just like in any editable region, with support
169174
for
170175
IME.<br>
171176
The element doesn't use the <code>contenteditable</code> attribute and is not a <code>textarea</code> element.
172177
Instead, it uses the <strong>EditContext</strong> API.</p>
173-
<p>The <strong>EditContext</strong> API makes it possible for web authors to produce more sophisticated editing
174-
experiences than what other editable regions on the web allow, without having to resort to complicated solutions
175-
that may negatively impact accessibility.</p>
176178

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

0 commit comments

Comments
 (0)