The image node: a block-level atom carrying its source, alt text,
dimensions and float alignment. Merge into your schema:
nodes: { ...defaultNodes(), ...imageNodes() }.
Uploads in flight render as the same node with a uploadId and no src,
so a failed upload leaves nothing to clean up in the document.
The
imagenode: a block-level atom carrying its source, alt text, dimensions and float alignment. Merge into your schema:nodes: { ...defaultNodes(), ...imageNodes() }.Uploads in flight render as the same node with a
uploadIdand nosrc, so a failed upload leaves nothing to clean up in the document.