Redocly / Redocly/redoc

copy deeplink on click on heading

Open
#1,892 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

Describe the problem to be solved
If I click on the link icon before a heading the site is scrolling down to the heading.
But instead of this we want that the link is copied and the site isn't scroll to the heading

Maybe there can be a flag or a option how to handle the onlick on the link image.

Additional context

Bildschirmfoto 2022-02-01 um 09 33 00

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue concerns the link icon shown before headings in the rendered documentation. Start by tracing the heading-link click behavior and determine how a configurable option should affect it. Done means the deeplink is copied without scrolling when the option is enabled, while the existing behavior remains available if required.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.