Make WordPress Core

Opened 4 weeks ago

Closed 12 days ago

#61275 closed feature request (reported-upstream)

I recommend adding the Table of Contents Block to WordPress version 6.6

Reported by: phanduynam's profile phanduynam Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: Editor Keywords:
Focuses: Cc:

Description

WordPress version 6.5.3 does not have a table of contents block, I recommend adding a Table of Contents block to WordPress 6.6 to quickly create a table of contents based on all the headings on a page. From then on I won't need to install the Table of Contents Plugin anymore.

Change History (7)

#1 follow-up: @benniledl
4 weeks ago

Hello and welcome to WordPress Trac!
There actually is a TOC in development, I am not sure when it will come to WordPress Core but you can already use it by installing the "Gutenberg" Plugin, the Gutenberg Plugin makes it possible for everyone to test/use features, that will come to WordPress Core eventually, early.

#2 in reply to: ↑ 1 @phanduynam
4 weeks ago

Replying to benniledl:

Hello and welcome to WordPress Trac!
There actually is a TOC in development, I am not sure when it will come to WordPress Core but you can already use it by installing the "Gutenberg" Plugin, the Gutenberg Plugin makes it possible for everyone to test/use features, that will come to WordPress Core eventually, early.

I have installed the gutenberg plugin and see the table of contents block as you said. My question is this block has been in development for 4 years and is still not added to WordPress core. I think this block is complete because it's been 4 years. There are currently a total of about 1 million active installations of Table of Contents Plugins, which is quite a large number, and if WordPress integrated a table of contents into its core, many websites would be lighter because they no longer had to install plugins.

#3 follow-ups: @benniledl
4 weeks ago

Hey, we share the same opinion.
I don't know why the development of the block has frozen, that's why I have left your ticket opened.
Maybe this ticket will catch someone's attention that leads to adding such a block.

#4 in reply to: ↑ 3 @phanduynam
4 weeks ago

Replying to benniledl:

Hey, we share the same opinion.
I don't know why the development of the block has frozen, that's why I have left your ticket opened.
Maybe this ticket will catch someone's attention that leads to adding such a block.

I guess the reason is because they reserved the table of contents block for the paid version (WordPress.com - this is the paid version of WordPress). WordPress.org is a free version so features will be reduced. As you can see in this url, WordPress.com already has a table of contents block.

https://wordpress.com/support/wordpress-editor/blocks/table-of-contents-block/

https://wordpress.org/support/topic/looks-like-the-table-of-contents-block-is-not-published-on-wordpress-6-5-2/#post-17656712

Last edited 4 weeks ago by phanduynam (previous) (diff)

#5 in reply to: ↑ 3 @phanduynam
4 weeks ago

Replying to benniledl:

Hey, we share the same opinion.
I don't know why the development of the block has frozen, that's why I have left your ticket opened.
Maybe this ticket will catch someone's attention that leads to adding such a block.

The Table of Contents block was considered in the WordPress 6.4 roadmap, but now that WordPress is about to move to 6.6, they say this block is not on the list for consideration for 6.6.

Roadmap 6.4: https://make.wordpress.org/core/2023/08/22/roadmap-to-6-4/

Roadmap 6.6: https://make.wordpress.org/core/2024/05/03/roadmap-to-6-6/#comment-46727

#6 @benniledl
4 weeks ago

I guess the reason is because they reserved the table of contents block for the paid version (WordPress.com - this is the paid version of WordPress). WordPress.org is a free version so features will be reduced. As you can see in this url, WordPress.com already has a table of contents block.

This is definitely not the case. WordPress.com is a hosting service that offers WordPress software with some extra features (they developed) for its customers. WordPress.org, is the source of WordPress, it's where you can get the WordPress software to use on your own server/hosting. WordPress.com also takes the same WordPress version that you take but it seems that they add a thing or two.
WordPress.org is not a limited/freemium version; you have full control over all the features and can add any themes or plugins you want.

#7 @sabernhardt
12 days ago

  • Keywords Table of Contents Block removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
  • Version trunk deleted

I'm closing this ticket because the discussion belongs on GitHub, and you already commented on what I think is the most appropriate issue.
https://github.com/WordPress/gutenberg/issues/42229

Note: See TracTickets for help on using tickets.