Draft: refactor: #3643009 Use embed's CKEditor 5 base plugin and deriver

Description

Moves Entity Embed's CKEditor 5 plugin onto Embed's shared base plugin and deriver, for #3643009.

  • DrupalEntity extends EmbedCKEditor5PluginBase and uses EmbedCKEditor5PluginDeriver, so only buttons with the entity embed type get a toolbar item.
  • DrupalEntityDeriver is deleted.
  • drupal/embed is now ^2.0.
  • DrupalEntityCKEditor5PluginTest uses the new derivative plugin IDs.

Depends on embed !38 (closed) (embed!38) and its release in embed 2.0.0; the pipeline can't pass until then.

Remaining tasks

  • Update this branch once embed !38 (closed) is merged and embed 2.0.0 is released.
  • Check whether the derivative plugin ID change needs an update path for existing text formats.

AI disclosure

Claude Code found my unfinished change on an old checkout, rebuilt it on 2.0.x and drafted this description. I wrote the original change, designed the move into Embed, and reviewed the result and ran phpcs locally.

🤖 Generated with Claude Code

Merge request reports

Loading
Loading