react-highlight
react-highlight copied to clipboard
ReactJS component that help you highlight ranges of text and give you callbacks to detect user selection.
Hi, Instead of using the highlightStyle prop for all ranges, can I pass a property for each range indicating their background colour?
It looks like the current component only respects `mouseup`/`mousedown`. Can we make it work on mobile too using `touchstart` and `touchend`? https://stackoverflow.com/questions/51333798/how-can-i-make-mousedown-mouseup-trigger-on-mobile-devices
It would be neat if I could pass another component to the `text` (or maybe `child`) field and be able to highlight text inside of that component
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [json5](https://github.com/json5/json5) and [webpack](https://github.com/webpack/webpack). These dependencies need to be updated together. Updates `json5` from 2.2.0 to 2.2.3 Release notes Sourced from json5's...
Bumps [json5](https://github.com/json5/json5) to 2.2.2 and updates ancestor dependencies [json5](https://github.com/json5/json5), [babel-loader](https://github.com/babel/babel-loader) and [webpack](https://github.com/webpack/webpack). These dependencies need to be updated together. Updates `json5` from 2.2.0 to 2.2.2 Release notes Sourced from json5's...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2. Release notes Sourced from loader-utils's releases. v1.4.2 1.4.2 (2022-11-11) Bug Fixes ReDoS problem (#226) (17cbf8f) v1.4.1 1.4.1 (2022-11-07) Bug Fixes security problem (#220) (4504e34)...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...