Rangy – Cross-Browser JavaScript Range and Selection Library

samuel Text & String 125 , , , , ,

Rangy is a cross-browser JavaScript range and selection library. 

Rangy also comes with optional modules, each of which comes in a separate .js file. 

Current modules are:

  • Selection save and restore
  • Class apply and remove to/from selection
  • Selection and Range serialization
  • Text-based extensions to selection and range
  • Highlighter module providing an API for creating, serializing and deserializing text highlights