Dynamically added HTML and template system


When a new media item is uploaded, JavaScript dynamically adds the media item to the media gallery list.

This dynamically added HTML is not part of the template system. Is it possible to make it part of the template system?


@henrywright there are some issue in that code, it will fixed in next release. github commit


@faishal-saiyed thanks, it would be great to be able to customise it. As it stands I can customise the media gallery but when an item is added to the list my customisations are over written with the dynamic HTML


@henrywright in next release it will fixed. problem was in template_url, it will used same template (media-gallery-item) which is used for php.