dom-highlight-range icon indicating copy to clipboard operation
dom-highlight-range copied to clipboard

Results 4 dom-highlight-range issues
Sort by recently updated
recently updated
newest added

I tried to highlight a text till the middle of an anchor text by calling var removeHighlights = highlightRange(range). After that, I call removeHighlights(). The highlight will be removed. Then...

Changes the exported `highlightRange` function signature to accept an `HTMLElement`, a callback `function`, or a `string` as the second parameter. This is used to create the highlight wrapper nodes. This...

Logical highlights that cross nodes are necessarily broken into physical segments to avoid overlapping markup. (That’s why this library is helpful!) In my `highlightTemplate` callback I want to know which...

In my application, I need to track additional information about each logical highlight. Today, it’s only possible to specify a `class` attribute for a `span` that’s created automatically. This is...