JIRA does not have a native means to edit attachments on the fly in the browser. You can edit attachments and then re-upload them after changes have been made. But in those cases, you would have to save the file to your local filesystem first anyways in order to then make changes and upload it again.
Perhaps you would be interested in this plugin for JIRA: GoEdit - Direct Attachment Edit for JIRA
It appears to provide the kind of functionality I think you are looking for here.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs