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