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
20082026
-
…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) -
…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…
comment by marknadal · 2014-03-21 · in Inside the Guardian’s CMS: meet Scribe, an extensible rich text editor