Details
-
Story
-
Resolution: Invalid
-
High
-
None
-
None
-
None
Description
Current situation
Template choice when rendering an image or "standard" embed is done using view configuration based on the embedded content type identifier (see EZP-25875).
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.
Options
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.