timdown/rangy
View on GitHub ↗ ★ 2,297 JavaScript
A cross-browser JavaScript range and selection library.
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2015-04-02 · latest 2015-06-12
20082026
-
Did you take inspiration from Rangy ( https://github.com/timdown/rangy ) and if yes, what makes Marklib better? Would like to know if there are obvious benefits to using Marklib over Rangy.
comment by pknight · 2015-06-12 · in Show HN: A DOM text-selection highlight renderer -
…on a Medium-style text editor for a while and text selection is notoriously hard. Things like https://github.com/timdown/rangy somehow made it more palatable but seriously, what a pain when you want to select something and apply DOM…
comment by VeejayRampay · 2015-06-12 · in Show HN: A DOM text-selection highlight renderer -
I've had a go at implementing a simple version of innerText: https://github.com/timdown/rangy/wiki/Text-Range-Module
comment by timdown · 2015-04-02 · in The poor, misunderstood innerText