πŸ‡ΊπŸ‡ΈUnited States @Kristi_06

Account created on 11 February 2012, almost 13 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States Kristi_06

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 }
πŸ‡ΊπŸ‡ΈUnited States Kristi_06

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).

πŸ‡ΊπŸ‡ΈUnited States Kristi_06

+1 same exact issue, for anonymous users only though. Works perfectly fine for admin

Production build 0.71.5 2024