-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Block] Table of contents (experimental)Affects the Table of contents BlockAffects the Table of contents Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Description
What problem does this address?
The table of content blocks was first released in Gutenberg 13.3 as an experimental block. A few releases later, no major bugs have been reported and we should start considering taking the block out of experimental.
What is your proposed solution?
Taking the block out of experimental would bring the block closer to shipping in WordPress 6.1.
Apart from removing the experimental flag in block.json
it would be good to stabilize the dependent selector __experimentalGetGlobalBlocksByName
, first introduced in #39610.
- @getdave do you see any reason not to stabilize the mentioned selector?
- @ZebulanStanphill @gziolo do you see any blocker not to stabilize the ToC block or other steps that should be done?
Pending items
- Stabilize the dependent selector
__experimentalGetGlobalBlocksByName
: Rename __experimentalGetGlobalBlocksByName to getBlocksByName #58156 - Table of Contents: support usage outside of Post Content #41173
- Table of Contents: fix undo history quirk #41031
- Add an aria-label attribute to the wrapping nav element
- Table of contents block – links don't work on initial page save #43595
- Add an option to control the heading levels
- Use the same block toolbar controls as the List block
NicoHood, paulschreiber, jeffpaul, wpexplorer, abstractpenguin and 2 more
Metadata
Metadata
Assignees
Labels
[Block] Table of contents (experimental)Affects the Table of contents BlockAffects the Table of contents Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take