Skip to content

Draftail error occurs when attempting to create mutual links between a footnote reference and a footnote #20

@DanielSwain

Description

@DanielSwain

Use Case: Attempting to set up mutual on-page links so that users can click to go back and forth between a footnote reference within the text and the corresponding footnote at the bottom of the page.

To do what I'm attempting, the rendering has to be set to render_span.

When a footnote structure is set up like this:

Image

...it works. I can click on the footnote number in the content, and it scrolls to the footnote at the bottom of the page. I can then, also, set up the footnote within the content as a target/anchor link (to which I will next point the footnote number in the footer as a link in order to accomplish reciprocal linking):

Image

But when I try to complete the setup of reciprocal linking by highlighting the superscripted 1 in the footnote and clicking the link item in the formatting bar, the following error happens in the editor as soon as I click on the link item:

Image

It would be great if this kind of very useful reciprocal linking could be set up.

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