Support » Plugins » Hacks » New media modal and and add_fields_to_edit with HTML fields

  • Is there a new and approved way to add JS snippets to extra edit fields in the new media modal?

    I’m trying to fix a plugin that adds JS code in the ‘html’-key of a $form_field and this variant is silently dropped by get_compat_media_markup(). So far, I haven’t been able to find any documentation on extending the new modal.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New media modal and and add_fields_to_edit with HTML fields’ is closed to new replies.