Strange behavior when creating links with Gutenberg when Rank Math is enabled
-
Before installing Rank Math, internal links created with Gutenberg look like this:
<a href="URL" data-type="post" data-id="xxx">Text</a>
After installing Rank Math, internal links crated with Gutenberg look like this:
<a class="rank-math-link" href="URL">Text</a>
Why is class=”rank-math-link” added? (this happens with both internal and external links).
Why is Rank Math removing the data-type and data-id attributes for internal links?
All the internal links created before installing Rank Math have the data-type and data-id attribute with no class. All the internal links created after installing Rank Math are missing these attributes but instead have class=”rank-math-link” added.
What is the purpose class=”rank-math-link”? If this is needed then what about all of the existing links created before installing Rank Math? If it’s not needed, then how to remove it?
What about the data-type and data-id attributes? What is the purpose of these attributes and why is Rank Math removing them?
- The topic ‘Strange behavior when creating links with Gutenberg when Rank Math is enabled’ is closed to new replies.