Disable TOC in Reusable Gutenberg Blocks

Created on 26 October 2023, 11 months ago

Problem/Motivation

TOCs render for reusable blocks if the reusable blocks have several headings.

Steps to reproduce

1. Create a reusable block that includes several headings
2. Create an article, and using the Gutenberg editor, add the previously-created reusable block
3. In addition to the article-level TOC, a TOC will also render in the reusable block

Proposed resolution

A token that could be added to the reusable block to "disable" or "hide" the TOC that would be generated.

✨ Feature request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States toddwalden Kansas City, MO

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024