and this is how you can exclude JS files in WP Rocket:
Yoast SEO, RankMath, and other SEO plugins cannot count the text inside our block or other custom blocks from other plugins.
However, you shouldn’t be worried, as this doesn’t affect your SEO, and search engines like Google will be able to see all the text you add without any problems.
This is just a problem shown only in the Yoast text analyzer, but it will be visible to search engines since the text appears without any issues in the article.
Our recommendation is to add as much text as possible outside the recipe block and keep details like cooking time, ingredients, and directions.
You can also use the following Content Analysis from Yoast’s website and insert in it all the content from your articles to be able to scan everything and get better recommendations.
Here’s a quick video to see how you can copy the text when previewing a post and then using the external Content Analysis tool:
In some rare cases, when using the $ sign in a recipe block, this may affect the content of the recipe to disappear