Save button missing in modal for editing media using Media Library Edit module

Created on 17 June 2024, 3 months ago
Updated 5 August 2024, about 2 months ago

Problem/Motivation

I have encountered an issue when using the Media Library Edit module in combination with the Gin theme.
The Media Library Edit β†’ module adds an "Edit" button to the Media Library widget, allowing users to edit media entities directly from the node edit form. When the "Edit" button is clicked, a modal opens containing the media edit form. but, on the Gin theme, the modal does not display the save button, preventing users from saving their changes to the media entity.

I found that the Gin theme uses a custom template for the node edit form (node-edit-form.html.twig). This template excludes the 'actions' element from the form using the following line:

{{ form|without('advanced', 'footer', 'actions', 'gin_actions', 'gin_sidebar', 'gin_sidebar_toggle') }}

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024