Closed Nickbahson closed 1 year ago
Describe the bug When I insert the Rank Math Table of Contents through the Gutenberg editor and don’t edit it at all, it has the following structure:
<div class="wp-block-rank-math-toc-block" id="rank-math-toc"> <h2>Table of Contents</h2> <nav> <ul> <li>my headings</li> </ul> </div>
However, if I change the text in the headings to anything, the block loses the id=“rank-math-toc” ID attribute part.
To Reproduce Steps to reproduce the behavior:
Describe the bug When I insert the Rank Math Table of Contents through the Gutenberg editor and don’t edit it at all, it has the following structure:
However, if I change the text in the headings to anything, the block loses the id=“rank-math-toc” ID attribute part.
To Reproduce Steps to reproduce the behavior: