In , we added support for uploading by pasting files into or dropping files onto the editor by adding editor.cloud.handlePaste and editor.cloud.handleDrop on the Editable component.
Slate Cloud also supports uploading files by opening the system file picker, for example, when a user clicks an image or attachment button in a toolbar.
Upload using a File Input
To upload from an <input type="file" /> element, add the editor.cloud.onInputFileChangeHandler to the onChange attribute.