Can no longer change view mode of an embedded DAM image

Created on 9 July 2025, 26 days ago

Problem/Motivation

After upgrading from 1.0.14 to 1.1.11 and running the database update, the embed controls in the WYSIWYG for existing embedded DAM media are no longer accessible.

Steps to reproduce

Set up a Drupal 11.1.8 site with Acquia DAM at 1.0.14
Embed DAM a DAM media in CKEditor, selecting the view mode and alignment.
Update Acquia DAM to 1.1.3 and run database update.
Edit a content item with an existing media embed from the DAM.
Click the image to select and none of the controls to set the view mode, alignment, etc. appear.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Is there some additional setup needed here? I've looked at the release notes for each version from the old to the new and didn't see any configuration changes to make.

When I try to embed a new media item from the DAM using CKEditor, I'm prompted to select an image style. Our local media (and before the upgrade, the DAM media) used view modes that were connected to their respective image styles. Has there been a change in approach or some upgrade I've missed?

💬 Support request
Status

Active

Version

1.1

Component

Code

Created by

🇺🇸United States mikeedfw

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

Comments & Activities

  • Issue created by @mikeedfw
  • 🇮🇳India vishalkhode

    @Mikeedfw I was able to replicate the issue on both Acquia DAM : 1.0.14 and Acquia DAM : 1.1.3 . This appears to be a Drupal Core issue and occurs under the following conditions:

    1. Go to the Text formats and editors page and click the Configure button for the text filter you are using. Ex: Full Html. Ex:
    2. Scroll to the bottom of the page, and under Filter Settings => Embed media, check the value for the Default View mode option. The value could be something other than "Default" (e.g., "Full Content").
    3. Next, go to the Manage Display page for the DAM Image media type (e.g., /admin/structure/media/manage/acquia_dam_image_asset/display) and check the Custom display settings section. The configured default view mode value (e.g., "Full Content") will be unchecked. Ex:

    So, basically the issue occurs when the Default View mode is set to a specific value (e.g., "Full Content") in the Embed media filter settings, and that view mode is not enabled for the media type under Custom display settings.

  • 🇮🇳India vipin.mittal18 Greater Noida

    This issue is not associated with the Acquia DAM, so proceeding to close this ticket.

Production build 0.71.5 2024