Embed module update breaks Element Embed

Created on 7 August 2024, 8 months ago

Problem/Motivation

Embed module version 8.x-1.8 introduced breaking changes for Drupal 11 compatibility. Element Embed is broken when used with the latest version of Embed. The class `EmbedCKEditorPluginBase` is not being found in Embed module.

[error] Error: Class "Drupal\embed\EmbedCKEditorPluginBase" not found in include() (line 18 of /var/www/html/web/modules/contrib/element_embed/src/Plugin/CKEditorPlugin/ElementEmbed.php) #0 /var/www/html/vendor/composer/ClassLoader.php(576)

Steps to reproduce

Update Embed to latest version. Install Element Embed and you get the error.

Proposed resolution

Maybe it is best for this module to constrain it's dependency to Embed version 8.x-1.7? Otherwise we need to discover if the EmbedCKEditorPluginBase class was moved to another namespace. And see if there are other breaking changes.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States matthand Riverdale Park, Maryland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024