Gutenberg 13.3 was released this week with support for an experimental new Table of Contents block. It is perfect for longform content that is organized by multiple headings within the document. The block automatically detects Heading blocks within the content and will display them with anchor links that jump to each section.
Users may select the block without knowing how it works with headings. If the post or page doesn’t contain any headings, the block inserts a message prompting users to start adding Heading blocks in order to display a Table of Contents.
For sites that have registered custom taxonomies, Gutenberg’s Post Terms Block now automatically generates a block variation for each term. That means users can select a block to display all the terms associated with that custom taxonomy.
Other notable additions in 13.3 include the following:
- Query block now supports a “parent” filter that will display content of children from the defined parent
- Heading block now supports Font Family controls
- Save Block List default view preference – allowes users to set a preference for having the Blost Lick view open or closed by default
- New transforms between the Cover and Media & Text blocks
The latest release also brings dozens of enhancements and bug fixes to preferences, border controls, error messages, tooling, accessiblity, and performance. Check out the release post for the full list of changes.
That could be incredibly useful, as it is a pain to do by hand, which is why I’ve only done it to my longest posts. But I am finding more blogs adding the table of contents to a sticky sidebar, and I like it. Do you think it is best ONLY for long posts or worth it at any length?