I am experiencing the same issue as described in this issue, but only in specific circumstances.
https://www.drupal.org/project/yoast_seo/issues/2701091
Specifically, when clicking a button in CKEditor that causes a dialog to be opened (e.g. the link button), this error is generated:
Uncaught TypeError: Drupal.ckeditor.openDialog is not a function
To reproduce the problem that I have encountered, do the following:
- Enable this module
- Assign to a bundle (e.g. a content type)
- Add a new formatted text field to that content type.
- Move the Realtime SEO field immediately above the newly added field in the form display
- Try to use the Link button in any formatted text field in that content type. No dialog appears, and the error is generated.
Moving the Realtime SEO below the new text field resolves the problem, as does unassigning the module from this content type.
Comments
Comment #2
millionleaves commentedComment #3
millionleaves commentedComment #4
kingdutchChanging the version because I was able to replicate this in the development branch of 2.x which is actively developed.
It seems the attached one line change fixes the issue.
Comment #5
millionleaves commentedThanks. I'm on v1.3. The patch wouldn't apply to my version, but I removed the same line from that version (line 18 in yoast_seo.libraries.yml), cleared cache and the problem was fixed.
Comment #8
kingdutchAs it's a one line fix I didn't see a reason not to take 30 seconds to fix this in the 1.x branch too :)
Thanks!
Comment #10
andreyks commentedReroll patch for tag 8.x-1.3