Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25917

Unify identification of image embeds in RichText

    Details

    • Type: Story Story
    • Status: Closed
    • Priority: High High
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: 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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: