Hello, i'am trying to make restriction of editing at attachments managable from my code at plugin. I've successfully added new buttons at all attachments using sections at xml.
Now i'm trying to find how to get Ids of attachments to use when buttons are clicked and how to hide default edit button(that's enough to do it decorative in html or js).