Template choice when rendering an image or "standard" embed is done using view configuration based on the embedded content type identifier (see
The online editor adds a custom class to image embeds, in order to distinguish them from other embeds: class="ez-embed-type-image". Such usage of "class" doesn't exist in the kernel RichText implementation.
The kernel doesn't really distinguish those.
We could try to use a custom view type (`full`, `embed`, ...) for images (embed-image), that PlatformUI would set instead of / in addition (BC) to the class.