We're using using Plone 5.1 and on some of our pages we'd like to enable the Table of Contents. When we go into Edit->Settings and check the "Show Table of Contents" box, the TOC div does appear in the HTML, but the style is forced to display: none so it doesn't appear on the page. The TOC portlet also appears to be empty, even though there's several heading elements on the page. The page is being edited through the WYSIWYG editor.
In the Portlet Manager, I don't see any entry for the TOC portlet, so I don't know how to configure it. How do I get the table of contents for the page to show up?
Are you sure about this: For me the TOC works OOTB (all I have to do is enable it (in the setting for the page). Could it be that your theme 'filters it out'. Does the same thing happen with default barceloneta theme.