MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / removeHighlight

Function removeHighlight

src/scripts/highlighting/textHighlighter.js:781–787  ·  view source on GitHub ↗
(highlight)

Source from the content-addressed store, hash-verified

779 }
780
781 function removeHighlight(highlight) {
782 var textNodes = dom(highlight).unwrap();
783
784 textNodes.forEach(function (node) {
785 mergeSiblingTextNodes(node);
786 });
787 }
788
789 sortByDepth(highlights, true);
790

Callers 1

textHighlighter.jsFile · 0.85

Calls 2

domFunction · 0.85
mergeSiblingTextNodesFunction · 0.85

Tested by

no test coverage detected