Thank you and sorry for missing thatâŚ
Works like a charm! Really appreciate your time and help! ![]()
Everything is working, but:
- On mobile I donât see the button âTable of Contentsâ as shown in the instructions:
- The only way to see it is to add at least a comment/reply (I would expect it to show even if no replies were added?), but even then, what is shown is not the same as what is in the image:
Is it possible to make it show âTable of Contentsâ, not just the icon? Iâm thinking that maybe itâs possible via CSS, but I was wondering if this is a new âfeatureâ or something else I can change to show the text?
I even tried to change the default text, in case that was the issue, but no luck:

EDIT: I was able to add the text via CSS in a custom component, but still wondering if this is a bug or something?
@media screen and (max-width: 767px) {
.d-toc-mini button::after {
content: "Table of Contents";
margin-left: 5px;
font-size: 14px;
vertical-align: middle;
}
}
And I still havenât figure out the issue of it only being visible at the bottom (instead of "sticky) when thereâs no replies.
The screenshots in the first post are quite old. You wonât find any information about the button which allows you to toggle between timeline and toc when there is more than one post, or information about the toc for replies feature, in them.
The problem with the missing button on mobile was reported here:
Maybe you also want to support this feature request: Fully expand table of content, if youâd prefer official support instead of custom CSS.
I was able to make it work when it doesnât have a reply:
I just added my feedback on that topic. Thanks.
I noticed that something is broken.
On mobile, the TOC panel doesnât slide overlaying the topic. It gets added at the bottom:
I thought it could be an issue with any of the other components, but I disabled them all and just left this one on.
EDIT: I noticed that this issue is only visible is the topic has no replies. I added a testing reply, and now itâs working. Even a simple Unlist > List, will work:

Bug�
Ik heb de DiscoTOC 2.1.0 thema-component geĂŻnstalleerd, maar de optie om een TOC te genereren wordt niet weergegeven onder de â+â in het composer-dialoogvenster. Ik gebruik Discourse 3.6.0.beta1-dev. In het â+â menu zie ik âHele bericht citerenâ, âTabel invoegenâ, âDetails verbergenâ, âDatum/tijd invoegenâ, âVoetnoot toevoegenâ, âPoll bouwenâ en âSpoiler vervagenâ.
Zijn er nog andere âwerkt niet metâ-scenarioâs? Deze site heeft de âCustom Header Linksâ thema-component en verschillende plugins.
Tot nu toe heb ik het geprobeerd op een wiki-bericht en een niet-wiki-bericht.
Testdocument:
# Hoofding
## Tweede niveau kop
## Nog een kop van het tweede niveau
### Wow, een kop van het derde niveau
## Nog een kop van het tweede niveau
I guess you added the component to your theme and you have already tried to refresh the site in the browser after that (Just mentioning that because I sometimes forget).
Did you try the preview button of the theme? That can be helpful to check for a conflict with another component (Though I think itâs unlikely)
You can also try to add the text that the button in the composer menu adds to the post manually
<div data-theme-toc="true"> </div>
Does that work?
Hartelijk dank voor de uitgebreide reactie! Mijn excuses, maar het probleem ligt bij mij en Apple. Ik gebruik Safari op een nieuwe Mac, en het â+â menu wanneer het opent bevat wel de TOC-optie, maar deze is niet zichtbaar in de lijst, en het menu toont helemaal geen scrollbalken die ik kan zien (en ze verschijnen pas als je scrollt). De verticale uitlijning van de inhoud was toevallig perfect, alsof het N-1 items bevatte in plaats van N. Grrrr. Ik merkte het eindelijk toen ik dit in Chrome probeerde, en toevallig was het N-1e item half zichtbaar, dus ik scroldeâŚ
Iâm glad you found it.
I actually had similar problems once: Last item of reply composer gear menu inaccessible I havenât tried it in a long time to see if itâs better now.
Thanks for reporting it! Weâve just updated the component to fix this
Been seeing this warning in the logs after updating to the latest discourse build last week
Message
DiscoTOC theme/component is throwing errors:
TypeError: Failed to fetch dynamically imported module: https://ccc.xxx.com/theme-javascripts/fb8891ef8c38dab255d356c75588ff25d4a97805.js?__ws=ccc.xxx.comBacktrace
TypeError: Failed to fetch dynamically imported module: https://ccc.xxx.com/theme-javascripts/fb8891ef8c38dab255d356c75588ff25d4a97805.js?__ws=ccc.xxx.com
Env
are both your Discourse and TOC component up-to-date? I cannot reproduce those errors.
Yes, discourse is updated as of Nov 11th 3.6.0.beta3-latest(aee3db7cdd) and components are update to date also. Iâm also seeing a similar error for another component
Message
Discourse Top Contributors Sidebar theme/component is throwing errors:
TypeError: Failed to fetch dynamically imported module: https://ccc.xxx.com/theme-javascripts/ddc9fd1b23f86d280ce4a9dbefc40b751d5fb8b4.js?__ws=ccc.xxx.com
Iâve tried a rebuild also but it didnât go away. What else can I try? Also what impact does this error have on the site?
Hey here:
Quick question here and sorry for the (probably) already reported issue; i did not find where.
It seems that there is a display issue with the (great) horizon theme (screenshot here on meta, with iOS on vertical display). Is it logged for some future release?
Tks
.
Yes, there is a topic about this:
Great. Tks for the quick response.
These errors do not affect Discourse itself. They originate from the client side, likely caused by users with unstable connections, ad blockers, or other browser extensions interfering. @david has just submitted a PR to suppress these warnings, as they are essentially unavoidable, stemming from external factors rather than anything within Discourse.






