As written in the faq and mentioned in the options of SimpleTOC you can remove the heading and add your own. Just group a new heading with SimpleTOC. Everything else would be redundant.
Thanks for your feedback @marcdk 👍
I’ve tested that workflow and find it rather complex to adjust the title; every author needs to perform multiple new steps in every blog post
- Hiding the default TOC title
- Adding a new H2-block above the TOC
- Setting the CSS class of the new H2 block to “simpletoc-hidden”
We have multiple authors of varying WordPress skill-level, so I want to keep the process as straightforward as possible.
→ I’ve gone ahead and created a pull-request for your plugin that streamlines this process, as the TOC title can be customized via the block properties.
https://github.com/mtoensing/simpletoc/pull/19
I think this change is a great addition to your plugin without adding any complexity. The title is escaped, has the correct header-level (h2), and always defaults to “Table of Contents” when left empty.
Wow and omg. Great! This is the most beautiful PR I have ever received. Even with an animated gif. I will look into the pr asap and merge it. Looks great at first sight and is a good solution for everyone!