bplmaps / argomaps

1 stars 0 forks source link

Footnotes #41

Closed almontg closed 1 year ago

almontg commented 1 year ago

Very willing to accept that this is a me issue, but I can't figure out how to get footnotes to work. I can see the options to create a link to an anchor on the page, but not to actually create the anchor:

image

When I try to do it by hand in the html editor accessed via the "source" button, the anchor disappears after I save:

before save: image

after save: image

Very open to other ways of handling footnotes, but we do need some kind of system.

diedrick commented 1 year ago

Don't you need an it to be an in the anchor, and not an ID in a

tag? Like:

(link)
<a href="#Anchorname">linked text</a>

(target)
<a name="Anchorname">a named anchor</a>
almontg commented 1 year ago

That also causes the same problem described above—the tag disappears after saving.

diedrick commented 1 year ago

Where are you trying to save this and it's not saving?

almontg commented 1 year ago

From the CMS, i.e. here: https://argo.stage.diedrick.com/admin/people.php/1

Is is because the notes and "people description" are in different fields maybe?

diedrick commented 1 year ago

Do you see the anchor here in Notes? image

And in the People Description source above it, do you see this? image

almontg commented 1 year ago

I can see the text "a named anchor" but it appears to no longer be, in fact, a named anchor: image

diedrick commented 1 year ago

It's there for me like this: image And in source: image

What browser are you using? And does it still show up as just a p after clearing your cache?

almontg commented 1 year ago

Clearing the cache worked! I still can't select anchors from the drop down link creating menu in the wysiwyg editor but I can add them in source. Thank you for walking me through this lol.