Mark this Text not working
What did you expect to happen?
I expected my text to be marked for readability when clicking the eyeball
What happened instead?
That didn't happen and clicking the eyeball did nothing
How can we reproduce this behavior?
I'm not sure. All I have to do is click that button under the readability inline section in any post
Can you provide a link to a page which shows this issue?
No, as it's in the admin area only
Technical info
- WordPress version: 4.7.5
- Yoast SEO version: 4.8
I've also tried this on two different browsers.
Thanks for your bug report. Could you please check for errors in your browsers console? This could provide us with helpful information that could help us solve the issue.
Also, we'll need to know if this behavior is caused by a conflict with a plugin or theme. Therefore we want to ask you to do the following;
- Log in on your WordPress website.
- Deactivate all non-Yoast plugins.
- Switch your theme to a standard theme like Twenty Fourteen.
- Test for the issue again. Does it still occur?
If it still occurs:
- Add a summary of the above steps to your bug report.
If it doesn't occur anymore:
- Reactivate all non-Yoast plugins one-by-one.
- Test for the issue again after every plugin you reactivate.
If the problem reoccurred after reactivating one of your plugins, please add that information to your bug report.
Thanks!
Hi,
There was a JavaScript error, see below:
/wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5 Uncaught TypeError: Cannot read property 'class' of undefined
at s (/wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5)
at String.replace (<anonymous>)
at i.l.parse (/wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5)
at Object.p.parse (/wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5)
at L.setContent (/wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:12)
at e (/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:1)
at /wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:1
at /wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:27
at l.markAssessment (/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:30)
s @ /wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5
l.parse @ /wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5
p.parse @ /wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:5
setContent @ /wp-includes/js/tinymce/tinymce.min.js?ver=4506-20170408:12
e @ /wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:1
(anonymous) @ /wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:1
(anonymous) @ /wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:27
l.markAssessment @ /wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-480.min.js?ver=4.8:30
Here is a screenshot:

I don't mean to sound like a pain, but changing the theme and deactivating the plugins one at a time is a bit of a problem, as it's a production site, the theme especially. Might there be a different way we can test?
I did disable my plugin TinyMCE Advanced though. The error seemed to be pointing to that, but it was to no avail.
Thanks for your quick reply. This error message is useful. If you are not able to perform a conflict/theme-check on your live website, you could consider creating a staging environment.
What other plugins are activated on your website and what theme are you using?
Possible related: #5993
Closing this issue due to inactivity. If this issue is still relevant, please reopen with the requested information.
I have the same problem, I think it's the theme that blocks the marks. Wordpress 4.8 Yoast SEO Premium 5.0.2
I have the same problem as well. Has there been a fix or any updates on the issue?
I have the same problem
same here...
Same issue happens when you have an internal link with the same focus keyword. It just does NOT highlight the internal anchor text and hyperlink.
This happens to me all the time! Similar stack trace and error as above.
wp-seo-wp-globals-backport-903.min.js?ver=9.0.3:25 TypeError: Cannot read property 'class' of undefined
at M (wp-tinymce.php?c=1&ver=4800-20180716:3)
at String.replace (<anonymous>)
at Object.parse (wp-tinymce.php?c=1&ver=4800-20180716:3)
at Object.parse (wp-tinymce.php?c=1&ver=4800-20180716:3)
at wp-tinymce.php?c=1&ver=4800-20180716:3
at Object.fold (wp-tinymce.php?c=1&ver=4800-20180716:3)
at Ox (wp-tinymce.php?c=1&ver=4800-20180716:3)
at Hx.setContent (wp-tinymce.php?c=1&ver=4800-20180716:3)
at i (VM729 wp-seo-post-scraper-903.min.js:1)
at o (VM729 wp-seo-post-scraper-903.min.js:1)
kt @ wp-seo-wp-globals-backport-903.min.js?ver=9.0.3:25
Trashed all my other plugins and use a stock theme and the error goes away.