Dynamically added HTML and template system


#1

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?


#2

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


#3

@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


#4

@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.


#5