Images are atomic (non-text) blocks that are used to embed image on the webpage.
addImage utility will help you to add image to the editor.
Image attributes can be either
Whenever you use an atomic block in your content, You need to decorate your state to make it available to render your custom non-text content.
An example of