Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Block: Table of Contents #1760

Closed
StaggerLeee opened this issue Jul 6, 2017 · 5 comments
Closed

Add Block: Table of Contents #1760

StaggerLeee opened this issue Jul 6, 2017 · 5 comments
Labels
[Feature] Blocks Overall functionality of blocks New Block Suggestion for a new block

Comments

@StaggerLeee
Copy link

StaggerLeee commented Jul 6, 2017

Had to delete all issue directions, as it is not a bug.

I know there are 2 issuse about block. But I would like to ask for additional feature, block, a bit different. Just to se what others say about it. Can dare to say I needed it often.

As it is now it is easy to echo in template Post pagination, from "nextpage".

  • It is just numbers in most cases.
  • It is like a black hole, never know what to expect when clicking on number.
  • Not user friendly at all.

I would like to ask for one new block with actually 2 under-blocks.
One for "nextpage" pagination, and other (optional) for Table of Content (TOC). Like plugins below make it:

https://wordpress.org/plugins/table-of-contents-plus/
https://wordpress.org/plugins/bainternet-simple-toc/

It is needed often for serious news portals. Following a story that spans under long time period.
Can be used for any story, article, on smaller websites, when some update about news comes after long time.

I tried before all those plugins but decided to stay away from them. Usually one man developing, in free time. And any sligh change in WP URL routing code makes those plugins have groove problems with permalinks. Not to mention additional problem with cache plugins. You are after all huge base of coders who could maintain this Gutenberg block much better.

@swissspidy swissspidy changed the title "<!--nextpage-->" with TOC block Add Block: Table of Contents Jul 13, 2017
@swissspidy swissspidy added [Feature] Blocks Overall functionality of blocks New Block Suggestion for a new block labels Jul 13, 2017
@karmatosed
Copy link
Member

For now closing this as it's not a required block for release. It may be something either someone makes as a plugin block or something later added. For now though, we have a table of contents within Gutenberg, just not a front end displaying one.

@heyakyra
Copy link

heyakyra commented Jun 2, 2018

is there some way to use it without the front end for displaying?

@karmatosed
Copy link
Member

@heyakyra what do you mean?

@heyakyra
Copy link

heyakyra commented Jun 4, 2018

@karmatosed, you mentioned

we have a table of contents within Gutenberg, just not a front end displaying one.

so how does one take advantage of the ToC feature?

@karmatosed
Copy link
Member

Ah thanks for context. Potentially yes someone could but that would require a separate plugin to be developed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks New Block Suggestion for a new block
Projects
None yet
Development

No branches or pull requests

4 participants