danielweck opened a new issue #80:
URL: https://github.com/apache/incubator-annotator/issues/80


   Source code reference:
   
https://github.com/apache/incubator-annotator/blob/ac3b5bd4b2793b8f01a12bcd328b6beb947069fc/packages/dom/src/highlight-range.js#L23-L24
   
   
https://github.com/apache/incubator-annotator/blob/ac3b5bd4b2793b8f01a12bcd328b6beb947069fc/packages/dom/src/highlight-range.js#L121-L140
   
   Could `Node.normalize()` be used on `highlightElement.parentNode`?
   
   https://developer.mozilla.org/en-US/docs/Web/API/Node/normalize
   
   See MarkJS usage:
   
   
https://github.com/julmot/mark.js/blob/9b0efaf07b869b45cfc4815faad167940143016b/src/lib/mark.js#L682-L686


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to