Generated with the help of an LLM.

Problem/Motivation

Follow-up to #3531672: Drupal 10.5/11.2 Compatibility (tooltip broken, cannot edit embedded entities), which restores the widget and link toolbars for embedded entities on CKEditor 5 v45+.

Comments #31 and #32 there report that the toolbar balloon still appears with CKEditor's older styling and layout, while CKEditor's own toolbars (for example core's Media widget) use the newer design. Comments #35 and #46 agreed to handle this separately so the critical fix could land.

Steps to reproduce

  1. On Drupal 11.3 or later, with the fix from #3531672: Drupal 10.5/11.2 Compatibility (tooltip broken, cannot edit embedded entities), embed an entity in a CKEditor 5 field.
  2. Click the embedded entity, then the link button on an embed that's already linked.
  3. Compare the toolbars with those of an embedded media item from core's Media module.

Proposed resolution

To be decided: screenshots of the difference are needed first. Then match the markup and classes core's Media plugin uses for its widget toolbar.

Remaining tasks

  • Add before and after screenshots.
  • Decide on the approach.

Comments

dave reid created an issue.