Closed
Bug 1128753
Opened 10 years ago
Closed 10 years ago
Linking to headers not possible
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 788548
People
(Reporter: imphil, Unassigned)
Details
(Whiteboard: [specification][type:bug][dupeme?])
What did you do?
================
I'm trying to create a in-page link in the compat table of https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens to the section "Notes on supported languages". This section has a unique id and thus is reachable using https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens#Notes_on_supported_languages as expected
What happened?
==============
When I try to add a link using the "link" button in the editor and select "link to anchor in the text" as Link Type, it says "(No anchors available in the document)". Manually adding the link in the source is also not working, since the link is removed again when switching back to the WYSIWYG mode.
What should have happened?
==========================
All section headers should have shown in the "add link" dialog.
Is there anything else we should know?
======================================
| Reporter | ||
Updated•10 years ago
|
Component: General → Editing
Comment 1•10 years ago
|
||
Thanks for the report! This is a duplicate of an earlier bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Whiteboard: [specification][type:bug] → [specification][type:bug][dupeme?]
Comment 2•10 years ago
|
||
However, you can always use the {{anch}} Kuma macro to create an in-page link. Just do {{Anch("Notes on unsupported sections")}} for example, and it will generate that link for you. See https://developer.mozilla.org/en-US/docs/Template:anch for docs on this macro.
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•