Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Annotations on dynamic content and controlling what can/can't be annotated #6

Description

@cdunlap

Hello! Factlink will most likely save me a ton of time writing my own annotation system, so what you guys have created is much appreciated. So before I start in with the issues, I'd like to say thank you :)

First, I'd like to be able to annotate content that is loaded via AJAX. Right now that isn't possible. Is there some method I can call to have it re-parse the DOM and populate the annotation buttons again after content is loaded? This seems like a pretty simple thing to do, but I could totally be wrong. I looked through the code on GitHub and couldn't really find a clue to help with this.

Second, is there a way to control what is allowed be annotated and what isn't? IE: Article content paragraphs only, using some sort of class added to the elements that can't be annotated. Or perhaps by passing a selector to Factlink to tell it what IS annotatable.

Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions