Table of Contents

Overview

The Table of Contents allows Editors to insert a block that can parse all Headings in an Article and display them in a list and provides anchor links to each one.

Githubhttps://github.com/bigbite/block-tabbed-content
Notion
Product OwnerChris Ferguson
Min. Version5.8> (Not tested in prior versions)

Features

  • The Tabs will accept any block within them
  • Keyboard navigation
  • Markup valid to WCAG 2.1 standard

Options

General

Layout

Styling

How to

How to include the block in your projects

The block is installed via a Plugin which you can include using Composer. To do so, ensure the following is included in your composer.json file:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:bigbite/block-accordion.git"
    }
  ],
  "require": {
    "bigbite/block-accordion": {{RELEASE_NUMBER}}
  },
  "extra": {
    "installer-paths": {
      "plugins/{$name}/": [
        "type:wordpress-plugin"
      ]
    }
  }
}

Technical Details