Re: 2 Proposals for Minimum Viable InputEvent

On Mon, 13 Feb 2017, at 11:23 AM, Johannes Wilm wrote:

> But who are these small, yet production-ready editors?



Hi! Author of Squire[1] here; probably the smallest production-ready
editor (~4600 loc; 15KB minified+gzip; used in production at FastMail[2]
and elsewhere). It does not use execCommand. I agree with all the other
authors: the only sane way for editors to work is for the editor to
handle all (or at least most) of the DOM manipulation. The browser
should just tell the editor what the user wants to do semantically as
much as possible, and nothing more.


Neil.


Links:

  1. https://github.com/neilj/Squire
  2. https://www.fastmail.com

Received on Monday, 13 February 2017 02:23:13 UTC