mdn / dom-examples

Code examples that accompany various MDN DOM and Web API documentation pages
https://developer.mozilla.org/en-US/docs/Web/API
Creative Commons Zero v1.0 Universal
3.39k stars 1.79k forks source link

New EditContext API demo #248

Closed captainbrosset closed 7 months ago

captainbrosset commented 7 months ago

This new demo is for the sake of this new guide: https://github.com/mdn/content/pull/32027 It should be merged before the guide.

To learn more about the EditContext API, see: https://developer.mozilla.org/en-US/docs/Web/API/EditContext_API

Rumyra commented 7 months ago

This all looks good @captainbrosset - I'll merge as to not block the content 👍

wbamberg commented 7 months ago

This ought to add an link to the top-level README, so it's findable from there. Also the directory here (https://github.com/mdn/dom-examples/tree/main/edit-context) does not match the links in the tutorial PR (https://mdn.github.io/dom-examples/editcontext-api/html-editor/).

Looks like a great demo though!

captainbrosset commented 7 months ago

This ought to add an link to the top-level README, so it's findable from there.

I will add it in a new PR today.

Also the directory here (https://github.com/mdn/dom-examples/tree/main/edit-context) does not match the links in the tutorial PR (https://mdn.github.io/dom-examples/editcontext-api/html-editor/).

Yeah, I've fixed that today.