Closed RangerMauve closed 10 months ago
id
Similarly, we should detect if there is selected text and create + copy a link to the text fragment.
With this in place it should be way easier to link to sections of pages regardless of whether authors explicitly added anchors to those sections.
Gonna skip the ID bit since the context menu event doesn't give us a sync method for getting the element id being clicked. Defs gonna do the fragment tho.
id
or it's direct parent.Similarly, we should detect if there is selected text and create + copy a link to the text fragment.
With this in place it should be way easier to link to sections of pages regardless of whether authors explicitly added anchors to those sections.