Hi,
Thank you for reporting this.
Could you please share a short video showing your plugin setup and the steps you are using to reproduce the issue? This will help us recreate it on our end and check the exact cause quickly.
Hello,
I’ve ran into this on two different sites. They’re set up very different but are both using Kadence theme + the kadence blocks library (and pro addons for those). However, this issue is with the default WP Gallery block, and does not occur with the Kadence gallery.
To replicate:
- Create a post with some content. Add a few images spread throughout the post.
- Towards the end of the post, add a default WP Gallery block with 4 images.
- In the TOC settings, set it to display after a set number of images. If this number is set to 1, everything is fine. If it’s set to 2 or more, the html breaks.
- When broken, the first <figure> tag for the WP Gallery does not have a closing </figure> tag in the html, which causes everything after that to be “nested” inside the <figure> element. If the WP Gallery is set to align center, all the content after that will be aligned center.
Let me know if that makes sense!
Emma
Hi,
We have raised a GitHub ticket regarding this concern, and it will be addressed in an upcoming update. We kindly request your patience in the meantime.
Here is the Ticket : https://github.com/ahmedkaludi/easy-table-of-contents/issues/963
Hey Akshay,
Thank you so much for the update!
Hi,
Hope you are doing well.
We have released version 2.0.84, which addresses this issue. Kindly update the plugin to the latest version, clear your website cache, and then give it a try.