Skip to content

Upgrade to Apache Annotator #18

Description

@BigBlueHat

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions