• Resolved fizzby

    (@fizzby)


    So I’m working on a very large FAQ that utilizes layered toggled content blocks. Since it’s very large, I wanted to utilize the Table of Contents block, though I can’t get it to function properly.

    Here’s an example that I’ll use to explain:

    So, as you can see, the Main Panel is H2 and the Child Panel is H3, and they are selected in the settings as such. Now because the Child Panel is within the Main Panel, I want it to display as a nested list, which seems to work perfectly fine when using an advanced heading, though I’d much rather not since I wouldn’t be able to toggle the inner content.

    Here’s what is looked looks like when I use the H3 advanced heading compared to the H3 Toggled Content Panel:

    It appears that for some reason the table of contents thinks the child panel is an H2, as when I unselect H3 in the allowed headings, it stills shows. Though upon inspecting the HTML, it is in fact an H3 tag. Weird. If there is any solution for this, please help me.

    Now, like I said, worst-case scenario I have to use advanced headings.

    One other issue that I have, which I’m hoping there is just some Javascript I can use, but is there any way to have the table of contents open the toggle content panel on click? If so, could I make the parent and the child panel open when the child anchor is clicked?

    Any help would be much appreciated! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Istiak Rayhan

    (@istiakrayhan)

    Hi Fizzby,

    We have found the issue.

    The fix will be available in the next release.

    Regards
    Istiak

    Thread Starter fizzby

    (@fizzby)

    @istiakrayhan

    Unless I’m missing something, the issue is still not fixed after updating to version 3.1.7. The H3 Child Toggled Content Block is still showing up in the Table of Contents when only H2 is only selected in the allowed headings. Looks like it’s still taking the attributes from it’s parent, and it’s not sublisting it in the table of contents as a child.

    Also, doesn’t seem like you addressed the option to open the toggled blocked when the anchor is clicked in the table of contents?

    If you can get this fixed ASAP that would be great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Table of Contents – Toggled Content Child + Open on Click’ is closed to new replies.