nathancox / betteranchors

SilverStripe 模块,用于在插入链接对话框中添加额外的锚点

安装: 13

依赖项: 0

建议: 0

安全性: 0

星标: 0

关注者: 2

分支: 0

开放问题: 3

类型: silverstripe-module

1.0.3 2017-10-09 21:15 UTC

This package is not auto-updated.

Last update: 2024-09-15 04:05:34 UTC


README

  • 允许您指定在插入链接对话框的锚点下拉列表中出现的额外锚点(例如,用于模板元素)。
  • 关闭锚点的断链高亮显示。

维护者联系方式

Nathan Cox (me@nathan.net.nz)

要求

  • SilverStripe 3.4+

文档

GitHub

安装说明

composer require nathancox/betteranchors

使用概述

通过 config.yml 配置

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

这将在自动生成的内容锚点之前插入“main”锚点,并在“footer”和“newsletter”之后。

问题 & 待办事项

问题跟踪器