The table of content is detecting image as a heading and including it in TOC.

#558663
  • Resolved Anonymous
    Rank Math free

    Hello, I am adding images to posts in classic editor. But when I am using TOC widget in elementor it is also taking images as a heading tag and leaving an empty space for the image.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    After testing the shared URL, I can see the image are wrapped in H2 tag. Please check the sensitive data section for the screenshot. Please remove the H2 tag that’s attached to the image and it will work fine.

    Let us know how it goes.

    Looking forward to helping you

    Anonymous
    Rank Math free

    Hello i dont know what you mean by saying they are wrapped in h2. there was only 1 image on the whole 3 posts wrapped in h2 or h3 other than taht all had p tags as you can check in the screenshot. table of content also has issues it shows things like leave a reply and etc.
    https://imgur.com/a/FMa3rHv

    Hello,

    You are using Elemntor’s TOC widget, not our plugin’s TOC block. If the images are still being included in the TOC then you should get in touch with Elementor’s support as they will be able to help you fix this.

    Don’t hesitate to get in touch in case you need our assistance with anything else.

    Thanks.

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

You must be logged in to reply to this ticket.