Hello,
Thank you for reaching out to us regarding the issue with the Table of Contents not displaying correctly in the “Spiel” theme on your WordPress website.
Based on the information provided, it seems that you have followed the instructions to add the Rank Math TOC block, but it is only displaying the header without the H1, H2, H3, H4 links.
To address this problem, please ensure that you have not excluded any headings from appearing in the table. You can check and adjust this setting by clicking on the TOC block, navigating to Settings, then heading to Block → Settings → EXCLUDE HEADINGS as shown in the screenshot below:

If the issue persists after checking the excluded headings, our team is aware of a bug that may cause higher-level headings to disappear when a lower-level heading is added before a higher-level one. We are actively working on resolving this issue in a future update. In the meantime, you can monitor our changelog here for updates on this bug.
If the problem continues after checking the excluded headings, please reply to this ticket, and a human agent from our support team will assist you further.
Thank you for your understanding and patience.
Warm regards.
Sources:
Why Isn’t Rank Math Detecting the Table of Contents? » Rank Math
Why Isn’t Rank Math Detecting the Table of Contents? » Rank Math
How to Add Rank Math’s Table of Contents Block » Rank Math
Score 100/100 With Rank Math Post Tests » Rank Math
Score 100/100 With Rank Math Post Tests » Rank Math
Hi,
I have run the theme in troubleshoot mode and deactivated all the plugins.
The only time the rankmath TOC worked was when the glutenberg plugin was disabled.
This causes a problem as I need that plugin for the core page builder features.
Looking forward to your reply.
Thanks and regards.
Hello,
Thank you for contacting Rank Math support.
Please confirm if you are using the Gutenberg plugin on your site. Our TOC block isn’t able to detect the headings added using the Gutenberg editor. It can only detect the heading of the default block editor.
We are working on a fix, but for now, you will have to disable the Gutenberg plugin to make our TOC work.
If you are not using Gutenberg, please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hi Jaideep Asrani,
Thank you for your reply.
Yes, I am using the gutenberg plugin.
Looks like I will have to wait for fix to be deployed.
Thanks again,
Chris.
Hello,
We are super happy that your concern has been addressed.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.