I spent half a year reimplementing what should be a native browser behavior, and it is currently used in production at a company with 100k+ users.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;amark&#x2F;monotype" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;amark&#x2F;monotype</a><p>It solves some enormous headaches, yet is NOT an editor, but a replacement to selection and range APIs.