Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Hi :), marklib focuses on rendering and persisting (serializing) the selection, not on actually providing a cross-browser functionality to get the selection.

marklib is especially useful and build for rendering incremental persisted selections and/or adding selections when other selections are already rendered (and though have modified the DOM). This is something rangy does not provide (at least that's my last information).


Might be worth adding this to adding these notes to the README.


very nice!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: