A cross-browser DOM range and selection library
npm install rangy-highlighterRangy2
=====
A cross-browser JavaScript range and selection library.
rangy.createModule logicrangy.init (& rangy.addInitListener)util.extend. Pls use Object.assignutil.toArray. Pls use Array.sliceutil.forEachdom.arrayContains. Pls use Array.includesinitialized, init, addInitListener. rangy is now always initialized right when importaddShimListenercreateModule, createCoreModulewarn, fail, supportedRangePrototype, rangePrototype, selectionPrototypeWrappedTextRangedist/*/bundles/index.umd.js (not bundle into index.esm.js & other module types)javascript
import "core-js/features/array/includes";
import "core-js/features/object/assign";
`Install
`bash
yarn add rangy2
`Documentation
Documentation is in the GitHub wiki.
Dev guide
`bash
yarn install
yarn run dev
``