Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Paragraphs auto anchor

Security covered Under active development 12 sites

Part of the Paragraphs ecosystem · 89 projects

This module automatically generates a unique anchor link for each paragraph on your site, based on its UUID. This allows users to create direct links to specific paragraphs, enabling easy navigation to particular sections of a page.

Description

Provides an empty anchor link for every paragraph
based on its UUID. For example:

<a name="93f89463-cfc1-4d59-9a7b-be447a632d75"></a>

Then on the edit interface for a paragraph widget there is a button to copy the
UUID for the editor to create anchors.

Requirements

  • Paragraphs module.

Configuration

Render you paragraphs as usual and the use anchor links to
scroll directly to that paragraph. For example:

https://example.com/my-page-with-paragraphs#93f89463-cfc1-4d59-9a7b-be447a632d75

Caveats

The anchor link for each paragraph is injected into the content
variable in the twig template so be sure that part is render just like the
default paragraph template.

Drupal 9–10 · not 11

Ask your assistant about Paragraphs auto anchor

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.7 Stable 9–10 Apr 5, 2024
1.0.6 Stable 9–10 Apr 5, 2024
1.0.5 Stable 9–10 Mar 4, 2024
1.0.4 Stable 9–10 Feb 9, 2024
1.0.3 Stable 9–10 Feb 2, 2024
1.0.2 Stable 9–10 Jan 26, 2024
1.0.1 Stable 9–10 Dec 14, 2023
1.0.0 Stable 10 Dec 5, 2023
1.x-dev Dev 9–10 Dec 5, 2023