Add an anchor tag in place of the break tag when viewing full node

Created on 10 April 2009, about 16 years ago
Updated 8 March 2025, 2 months ago

The idea for this came from this discussion: #348664: Jump to the start of the text immediately after teaser β†’

It would be useful to provide an anchor tag in the node that demarcates the division between teaser and full node. For example, say the <!-- break --> tag were inserted like this:

This is the last line of the teaser.

<!-- break -->

This is the first line after the teaser.

Viewing the full node would replace the <!-- break --> tag with an anchor:

This is the last line of the teaser.

<a id="read_more" name="read_more"></a>

This is the first line after the teaser.

This would allow users to "jump" to the content they haven't read yet when clicking a "read more" link. This would be most valuable for "read more" links that appear immediately after the text of the teaser (as opposed to the node $links). Some modules -- Read More link, for example -- could utilize this.

✨ Feature request
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

node system

Created by

πŸ‡ΊπŸ‡ΈUnited States todd nienkerk Austin, TX

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for sharing your idea for improving Drupal.

    We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024