Skip to content

Re-add afterLoad to loadNote for compatibility #1325

@chriszs

Description

@chriszs

In the process of restoring a legacy piece of custom journalism, I started debugging inline document citation links that no longer functioned. This was one of the earliest pieces to use this style of proof, which I believe is an important piece of journalism history to preserve. They work by calling dc.embed.loadNote, which miraculously still works, and then positioning the note after the load with an afterLoad callback, which sadly no longer does. To temporarily address this, I've shimmed the original script with a ridiculous workaround, but it'd be better and potentially not that hard to restore the original afterLoad callback, which is what I propose to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    embedsEmbed-related functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions