Problem/Motivation

Media Library Edit module is not working on Drupal 10 at all. There are few changes in Drupal 10, so the module is needed for update.

Remove jQuery dependency from the once feature- jquery.once deprecated:
https://www.drupal.org/node/3158256

hook_field_widget_form_alter - deprecated:
https://www.drupal.org/node/3180429

We can't support this module for Drupal below 9.2, because Drupal 10 doesn't have jquery.once anymore. It's possible to add old jquery.once, but I think we should use Drupal 10 javascript.once instead.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

levmyshkin created an issue. See original summary.

levmyshkin’s picture

Issue summary: View changes

levmyshkin’s picture

I added pull request with updates for hook_field_widget_form_alter() and removing jquery.once.

levmyshkin’s picture

Assigned: levmyshkin » Unassigned
Status: Active » Needs review

ahebrank’s picture

Status: Needs review » Fixed

Thanks. I can confirm it wasn't working before, so I'll go ahead and release a patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.