• Resolved snecz

    (@snecz)


    Hi, I have problem with the table of contents. The block at the beginning of the article says there are no headings. However, the headings are there (Gutenberg), they just have the following class added: <h2 class=”heading”> as I can see in the page source.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jeremy

    (@jeremrm)

    Hello @snecz,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Can you please share a link to the affected post so we can take a closer look at the issue?

    Looking forward to helping you with this one.

    Thread Starter snecz

    (@snecz)

    Plugin Support Jaideep Asrani

    (@jaideeprm)

    Hello @snecz,

    Our plugin’s TOC block only works with the default heading block of the block editor. The default heading block contains the “wp-block-heading” class. Since your heading blocks don’t have the same class, you must be using a different heading block added by your theme or a plugin, and that’s why our TOC block is not able to detect them.

    Please make sure to use the default Heading block of block editor to fix the issue.

    Let us know how that goes. Looking forward to helping you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘TOC problem’ is closed to new replies.