Bookmarks in links, so you can link to a specific location on a page
- This topic has 4 replies, 3 voices, and was last updated 1 month ago by .
- September 17, 2020 at 9:17 am#3805mlryanSeptember 17, 2020 at 9:20 am#3807BobSupport
Yeap, just selects the Eternal link option and provide your anchor name with a #hash sign.
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!September 17, 2020 at 9:27 am#3808mlryan
Thanks! Does this also work for links to internal (post) pages? Is there a way to add the required ID field to elements on the post (for example the H2 headings)? Do I have to go into the HTML editor to do this and will the ID be preserved if I later edit the heading with the WYSIWYG editor?September 17, 2020 at 9:37 am#3809BobSupport
Just try. The only Block and Markdown editors automatically generate the IDs for the headings.
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!January 30, 2021 at 5:59 pm#5095rtissler
Still, anchor links in Navigation as well as in the text itself are not possible. When choosing the block editor and trying to link to an anchor on the same page, I cannot do it. It is just possible to link to other pages or external urls. Would be great to include this as a standard option to integrate anchor links (e.g. if you have sources at the bottom of the page, you anchor link to in the text).
- You must be logged in to reply to this topic.