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.