Hacker News new | ask | show | jobs
by dminor 3716 days ago
One big problem with draft.js is it doesn't play well with tools like grammarly that reach into the dom and modify it.

Medium's editor side steps this by just rerendering after each input.

1 comments

Draft.js does (or did at some point) have some affordances for this so that it could handle mobile devices.

Keyboards on Android Chrome used to emit keycode 0 for every character that was inserted and then mutate the DOM directly. And spelling corrections just mutated he DOM without firing events.