iCloud stores shadow copies of the documents in iCloud Drive in your user library. These documents can be edited, even with no internet access. They will start updating, when you get online again. If you edit the same cloud document on different macs while offline, you may get a warning, that there is a conflict, and you will have to select, which version to keep.
This thread is now locked and can not be replied to.