Skip to content

Commit

Permalink
New EditContext API demo (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset authored Jan 31, 2024
1 parent 043f6a8 commit 40cb0f1
Show file tree
Hide file tree
Showing 3 changed files with 704 additions and 0 deletions.
9 changes: 9 additions & 0 deletions edit-context/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# EditContext API demos

This folder contains demos for the [EditContext API](https://developer.mozilla.org/docs/Web/API/EditContext_API).

## Demos

* **HTML Editor**: [Source code](https://github.com/mdn/dom-examples/tree/main/edit-context/html-editor) | [Live demo](https://mdn.github.io/dom-examples/edit-context/html-editor)

This demo shows how to use the EditContext API to create a simple HTML editor. It's used in [Using the EditContext API](https://developer.mozilla.org/en-US/docs/Web/API/EditContext_API/Guide) tutorial.
Loading

0 comments on commit 40cb0f1

Please sign in to comment.