Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Feature Request: Dynamic Table of Contents Block #41602

Open alisterscott opened 4 years ago

alisterscott commented 4 years ago

Steps to reproduce

  1. Starting at URL: wordpress.com
  2. Create a new post or page
  3. Try to insert a dynamically rendered table of contents block

What I expected

Easily ability to add TOC block that picks up headers in post/page and shows TOC at top (like Google Docs, Confluence etc)

What happened instead

No support

I currently have a custom reusable block but I need to edit the HTML manually each time I add a new H1 in the page:

Screen Shot 2020-04-29 at 9 13 17 pm
github-actions[bot] commented 3 years ago

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.