nathancox/betteranchors

A SilverStripe module to add extra anchors to the insert link dialog

1.0.3 2017-10-09 21:15 UTC

This package is not auto-updated.

Last update: 2024-10-27 04:54:02 UTC


README

  • Allows you to specify extra anchors that appear in the anchor dropdown in the insert link dialog (eg for template elements).
  • Turns off broken link highlighting for anchors.

Maintainer Contacts

Nathan Cox (me@nathan.net.nz)

Requirements

  • SilverStripe 3.4+

Documentation

GitHub

Installation Instructions

composer require nathancox/betteranchors

Usage Overview

Configuration via config.yml:

Page:
  anchors:
    before:
      - main
    after:
      - footer
      - newsletter
    

This will insert the "main" anchor before the auto generated content anchors and "footer" and "newsletter" after them.

Issues & Todo

Issue Tracker