• Moderator threadi

    (@threadi)


    Hi,

    I’m currently using the block for a project and am wondering about the following: it works wonderfully for articles with multiple headings. But if an article only has one heading, I don’t really need the TOC. Unfortunately, I can’t find a way to set this up or force it via PHP hook. Unfortunately, there is nothing for this in render_callback_simpletoc().

    Is this still on the to-do list? That would be nice 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author Marc Tönsing

    (@marcdk)

    hi,

    currently not in the to do list. But you can provide a pull request.

Viewing 1 replies (of 1 total)

The topic ‘Hide TOC if only one heading exists’ is closed to new replies.