Jump to content
View in the app

A better way to browse. Learn more.

Learn more

[BUG] No Option to Add Longer Titles to Table of Contents

Featured Replies

There is no option to add titles/headings of more than 100 characters to the ToC. (I seem to recall this bug being reported long ago.)

There is a workaround for anyone who is interested (while we await a fix).

  1. Create the content using truncated titles

  2. Go to the front end and add the truncated titles to the ToC

  3. Go back into the Page editor and add the full title.

Unfortunately, you will need to go through this process every time you need to edit a long title, which is a bit of a pain.

This is not a bug and is actually intentional, as to not break layouts. It was 50 at one point, and we increased it to 100

  • Author
1 hour ago, Marc said:

This is not a bug and is actually intentional, as to not break layouts. It was 50 at one point, and we increased it to 100

How does it break layouts? The ToC entry is truncated and the spoiler heading returns. But the 100 character limit breaks the ToC. I mean, what's the point of the ToC if it lists only some items?

Edited by Como

  • 2 weeks later...
  • Author

Hi @Marc

I remain puzzled by the rationale for this restriction. Items in the Contents list are truncated text-overflow: ellipsis; - so I can see no problem there - and content block headers are unrestricted (which is as it should be).

How would layouts be broken if the restriction on what might be added to the Contents list was lifted? As it stands, some content blocks and headings are available to be listed in the list of contents, while others are not. This limitation seems arbitrary and breaks the Contents list generator.

Personally, I'd like to see the ability to add any heading or paragraph to the Contents list so that it covers any and all eventualities. Let the community operator decide what works best for them. I am using Contents for an FAQ list, but questions are limited to 100 characters. Yes, I can use the workaround I posted above, but why must I jump through hoops to accomplish this?

It also would be nice to be to disable ellipsis on selected items in the Contest list, where display of the full, non-truncated title would be advantageous.

Recently Browsing 0

  • No registered users viewing this page.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.