Black Friday Sale is now Live

Add WordPress ID (data-id) to delete buttons in Voxel image gallery

  • Solved
  • Posted 2 months ago

On the post edit page (backend) with the Voxel image gallery, I want each “delete” button (.ts-remove-file) to have the corresponding WordPress ID (data-id).
Currently, for images added dynamically by the user, these buttons do not have a data-id. Could you please advise which Vue.js hook or event I can use to automatically inject it on all buttons?

  • Images