Image
The image node is used to represent images in the document.
Commands
Section titled “Commands”insertImage
Section titled “insertImage”uploadImage
Section titled “uploadImage”You can reuse the uploadImage command when handling paste or drop uploads. For a convenience wrapper that wires it into the editor automatically, use defineImageUploadHandler.