Patch for anyone who needs it.
According to this core change record β Drupal 10.3 and above, media library opener services must be explicitly tagged with the media_library.opener tag.
Tried and worked for us. linkit_media_library.services.yml should read:
services:
linkit_media_library.opener.editor:
class: Drupal\linkit_media_library\LinkitMediaLibraryEditorOpener
arguments: ['@entity_type.manager']
tags:
- { name: media_library.opener }
I'm experiencing this same error with CkEditor 4.
Drupal Core 10.3.2
Linkit 6.1.4
Linkit Media Library 1.0.3
Full error
RuntimeException: linkit_media_library.opener.editor must be an instance of Drupal\media_library\MediaLibraryOpenerInterface in Drupal\media_library\OpenerResolver->get() (line 46 of /web/core/modules/media_library/src/OpenerResolver.php).
Also experiencing this error.
+1 same exact issue, for anonymous users only though. Works perfectly fine for admin