@Treora and/or @tilgovi would love your thoughts on this upgrade/move.
The current selector creation code uses the dom-anchor- libraries directly:
https://github.com/BigBlueHat/page-notes/blob/master/src/annotate.js#L9-L17
The highlight code currently only uses the dom-anchor-text-position toRange stuff:
https://github.com/BigBlueHat/page-notes/blob/master/src/highlighter.js#L29
It should be a simple refactor to move to Apache Annotator, but I'm also wondering what we might learn for informing Apache Annotator's code (or "pitch") for existing projects using the dom-anchor- libraries directly.
@Treora and/or @tilgovi would love your thoughts on this upgrade/move.
The current selector creation code uses the
dom-anchor-libraries directly:https://github.com/BigBlueHat/page-notes/blob/master/src/annotate.js#L9-L17
The highlight code currently only uses the
dom-anchor-text-positiontoRange stuff:https://github.com/BigBlueHat/page-notes/blob/master/src/highlighter.js#L29
It should be a simple refactor to move to Apache Annotator, but I'm also wondering what we might learn for informing Apache Annotator's code (or "pitch") for existing projects using the
dom-anchor-libraries directly.