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…?
התקנתי את רכיב הנושא DiscoTOC 2.1.0, אך האפשרות ליצור תוכן עניינים אינה מופיעה תחת ה-" + " בתיבת הדו-שיח של המלחין. אני משתמש ב-Discourse 3.6.0.beta1-dev. בתפריט ה-" + " אני רואה ציטוט של הפוסט כולו, הוספת טבלה, הסתרת פרטים, הוספת תאריך/שעה, הוספת הערת שוליים, בניית סקר וטשטוש ספוילר.
האם יש תרחישים נוספים של “לא יעבוד עם”? באתר זה יש את רכיב הנושא “קישורי כותרת מותאמים אישית” וכמה תוספים.
עד כה ניסיתי זאת בפוסט נושא ויקי ובפוסט נושא שאינו ויקי.
מסמך בדיקה:
# כותרת עליונה
## כותרת ברמה שנייה
## כותרת ברמה שנייה נוספת
### וואו, כותרת ברמה שלישית
## כותרת ברמה שנייה נוספת
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?
תודה רבה שהקדשת כל כך הרבה זמן לתשובתך! אני מתנצל, אבל הבעיה היא אצלי ואצל אפל. אני משתמש בספארי במק חדש, ותפריט ה"+" כאשר הוא נפתח אכן מכיל את אפשרות ה-TOC, אך היא אינה נראית ברשימה, והתפריט אינו מהבהב את סרגלי הגלילה כלל ככל שאני יכול לראות (והם אינם מופיעים אלא אם כן גוללים). היישור האנכי של התוכן קרה במקרה להיות מושלם, כאילו הוא הכיל N-1 פריטים במקום N. גרגג. לבסוף שמתי לב כשניסיתי זאת בכרום, ובמקרה הפריט ה-N-1 נחתך בחצי, אז גללתי…
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.






