- Issue created by @agnesliu
- πΊπΈUnited States mark_fullmer Tucson
Need a fix to the module's 6.1.x version to be compatible with v45 of CKEditor 5.
It would be preferable to update to the 7.0.x release cycle. As far as I know, there shouldn't be any incompatibilities between Drupal 10.1 and above on that branch.
- πΊπΈUnited States agnesliu
Upgraded to the 7.0.5 version and there is no issue so far. Thank you!
- πΊπΈUnited States mariem
I was also experiencing the same issue after upgrading to core 10.5 and using linkit 6.1.6. I updated linkit to 7.0.5 and I can now edit and insert links as expected.
FYI - this issue was happening with 7.0.4 too, updating to 7.0.5 works
I have updated to core 10.5, which includes the CKE5 update to v45. And I've updated Linkit to 7.0.5. I still experience an error when adding or editing a link. In console, I see:
ckeditor5-dll.js?v=45.2.0:5 Uncaught CKEditorError: Cannot read properties of undefined (reading '_items')
I am able to add a link. And when I edit an existing link I can enter a link and save it. But when I edit an existing link it does not initially show the link that was there. I can only enter a new link.
Also, I have Linkit configured to add media links. But that is not working at all. The url field only accepts hard links.
I'll write again if I figure out a suggested solution.- πΉπΌTaiwan peterwcm
We've tested our sites running Drupal 10.5 with Linkit 7.0.5, and encountered the following issue: when clicking the Linkit button, a console error is thrown. As a result, the autocomplete functionality does not work and no suggestions are displayed. However, link HTML is still created when a full URL is manually entered.
ckeditor5-dll.js?v=45.2.0:5 Uncaught CKEditorError: Cannot read properties of undefined (reading 'viewUid') Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-Cannot read properties of undefined (reading 'viewUid') at i._remove (ckeditor5-dll.js?v=45.2.0:5:667561) at i.remove (ckeditor5-dll.js?v=45.2.0:5:665460) at i.remove (ckeditor5-dll.js?v=45.2.0:5:631088) at editorAdvancedLink.js?v=10.5.0:1:11195 at Array.forEach (<anonymous>) at h._addGroupsToFormView (editorAdvancedLink.js?v=10.5.0:1:11167) at C.<anonymous> (editorAdvancedLink.js?v=10.5.0:1:10076) at C.fire (ckeditor5-dll.js?v=45.2.0:5:639290) at C.set [as visibleView] (ckeditor5-dll.js?v=45.2.0:5:641653) at C._showView (ckeditor5-dll.js?v=45.2.0:5:607964)
- πΊπΈUnited States mark_fullmer Tucson
Similar to the comment above, our issue might be more related to the Editor Advanced Link plugin
Thanks for the update. I'll leave this issue open for now for visibility, but it does seem that at this point, all reports of problems are coming from people who are using Editor Advanced Link. Folks should head to π D11.2: Uncaught CKEditorError: Cannot read properties of undefined (reading 'viewUid') Active to follow progress there.
- πΊπΈUnited States Kasey_MK
I'm having this problem on 7.0.4 and 7.0.5, with Drupal 10.5 and without Editor Advanced Link, but removing the patch for Show URL alias after autocomplete selection instead of internal route (e.g., /node/123) β¨ Show URL alias after autocomplete selection instead of internal route (e.g., /node/123) Needs work makes the error go away.
I really like that patch, though. Plus the one for Display node title (a text) in by default when creating link in ckeditor5 β¨ Display node title (a text) in by default when creating link in ckeditor5 Closed: duplicate which no longer applies. I'll take a look to see if I can re-roll either or both on the new code.