gildas-lormeau / SingleFile

Web Extension for saving a faithful copy of a complete web page in a single HTML file
GNU Affero General Public License v3.0
14.3k stars 945 forks source link

Anchor/Pin Note Cards #1399

Closed Matthew-Mind closed 3 months ago

Matthew-Mind commented 4 months ago

When I annotate a page with notes, then save and close the page, upon reopening the page file the note cards are not where I put them. They are nearby, often covering something I want to be visible, and it may not be clear what on the page they are referring to.

I noticed the anchor icon on note cards, but could not identify any effect from clicking it.

Is there any way to anchor/pin a note card in place, or anchor it to an element on the page without covering the element? Is there any way to indicate what on the page a note is referring to?

gildas-lormeau commented 3 months ago

I cannot reproduce the issue. I saved a page on example.com and added a note exactly on top of the "E" and it works as expected. The note is at the same position when I open the saved page. See the attached file. Moving the note allows you to know to which element it is anchored.

By default, notes are attached to elements. If you click on the anchor button, the position of the note will be relative to the document.

example.zip

Matthew-Mind commented 3 months ago

Apologies. The only failure was my failure to understand. That is resolved.

gildas-lormeau commented 3 months ago

No problem, thank you for the feedback.