Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Page Jump, Anchor Links, Jump Links

See original GitHub issue

I am trying to have a link to go to a certain section of the page, this basically means setting the name field of an <a> tag and linking to it. Obviously I can link to it, but I am not able to actually set the name of a link.

Is there a way to do this I am missing, or a way to override the actual rich text editor so that it allows us to set the “name” attribute on the link tag?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:12

github_iconTop GitHub Comments

konstantibcommented, Feb 11, 2021

I’m struggling to explain to my Product owner why such basic and commonly used feature is not available in Rich Text editor. One solution that everyone seems to be suggesting is to create Content Type to be used for Headings (or any other text to be jump/anchor linked to) and then use RTE hyperlink functionality to link to entry when creating a link itself. This should be enough data to render Jump links on the FE. However creating yet another content type just for this seems like an overkill.

yevmorozcommented, Jul 13, 2020

#56 has been closed - am I right in thinking that the official answer is “fork our editor and write your own”?

“and then we will adopt your solution”, must admit not a bad move 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Add an Anchor Link to Jump to a Specific Part of a Page
An anchor link is a link, which allows the users to flow through a website page. It helps to scroll and skim-read easily....
Read more >
How to Create a Link to Jump to a Specific Part of a Page ...
2. Take the name you've chosen, and insert it into an opening HTML anchor link tag. · 3. Place that complete opening <a>...
Read more >
How to make an HTML anchor link jump to a specific part of ...
The answer is jump links. Jump links are links that won't just load the page, but they will “jump” down to a specific...
Read more >
How to Create an Anchor (Jump) Link
For a normal link, the thing you want to link to has a URL of its own. However for an anchor link (otherwise...
Read more >
Anchor yourself with easy jump links - Wendy Cholbi
Jump links, also known as anchor links, are links that take you to a specific part of a page, instead of the default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found