It doesn't, because it can't.
The process of editing an attachment is: download a copy, edit it locally, upload the new version. The server cannot know what is being done to a copy of the file it holds.
There are some add-ons which put a form of lock on attachments so that people can tell someone else is editing and has the intention of uploading a new copy, but there's no way to know what is happening on other machines.
using Confluence since 2016 I must say Companion App is way worse then the former Office Connector. Selling Confluence as collaboration tool and not handling multiple editing office files is kind of shizophrenic. The office connector could lock the opened file. I would really appreceate, if you could consider a feature to adress this issue with one of the next releases.
It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events