Although you can add and edit Documents and Media files via upload and download, Liferay DXP doesn’t contain a UI that lets you author or edit documents directly. You can, however, create and edit Documents and Media files online in Google Docs™, Google Sheets™, and Google Slides™.
Note that when you use Google Docs™ to create or edit a Documents and Media file, that file isn’t permanently stored in Google Docs™. Google Docs™ is only used for its editing UI. Your edits are then saved to the Documents and Media Library.
Figure 1: You can create new Google documents in Documents and Media.
Figure 2: You can also use Google's document editor to edit existing Documents and Media files.
Figure 3: When using Google's document editor, you can save or discard your changes via the editor's toolbar.