Open
Description
Although it is part of the spec the beforeinput
event is only available in Chrome at the time of this writing. Neither Firefox nor Safari or IE implement it. But although Chrome has it, it seems to have issues because it can't be prevented. This breaks the popular slate-react bindings for the slate
rich-text-editor component.
We need to normalize the event in compat. There are a few hints on how to do so in the react code base, but they're somewhat outdated and we need to reassess the current support status in browsers.