w3c / edit-context

EditContext API
https://w3c.github.io/edit-context/
Other
28 stars 7 forks source link

Add entrypoint for input-events spec #67

Closed dandclark closed 12 months ago

dandclark commented 12 months ago

Add a Handle input for EditContext algorithm that can be called from the input-events spec as a default action for beforeinput. It's basically just a wrapper around Update the EditContext, but that algorithm takes a bunch of parameters and I want to avoid leaking the concept of Text Edit Context to the input-events spec.

See https://github.com/w3c/input-events/pull/145

Also export definitions so they can (eventually) be used by input-events spec without explicit links.