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

Unify identification of image embeds in RichText

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Invalid
    • Icon: High 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: