Hacker GitHub

← All repos

amark/monotype

View on GitHub ↗ ★ 41 JavaScript

Restores caret selection via content rather than the DOM.

3 mentions on Hacker News by 1 person: 1 story, 2 comments · first 2014-02-01 · latest 2015-12-02

Mentions per year 3 mentions · busiest year 2014 (2)
20082026
  1. …be a native browser behavior, and it is currently used in production at a company with 100k+ users. https://github.com/amark/monotype It solves some enormous headaches, yet is NOT an editor, but a replacement to selection and range APIs.
    comment by marknadal · 2015-12-02 · in Why ContentEditable is Terrible (2014)
  2. …late, but I should mention a really important library I wrote that changes HOW one writes editors - http://github.com/amark/monotype . Save your caret, do whatever transformation you want directly with HTML manipulation, then you restore…