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

Embed images displayed side-by-side in Online Editor

    XMLWordPrintable

Details

    Description

      Embed images are displayed in eZOE side-by-side, what shouldn't happen according to Object embedding documentation page. See attached bug-001.png image.

      With this tag, embedded objects are inserted as "block elements". Such an element always begins on a new line when it is displayed. It exists in its own virtual box and is always followed by a carriage return (like if someone hit the "Enter" key after inserting the object). This means that, for example, inserting an image using the "embed" tag will break the current paragraph. The "embed" tag is represented by block-level tags in the resulting XHTML code.

      In fact, if you insert an embed file object, it will be a block element not allowing anything in the same line. See attached bug-002.png image.

      The behavior of embed image and file elements should be the same.

      Steps to Reproduce

      1. In eZOE, add an embed image according to attached bug-001.png image.
      2. Add a second embed image in the same line according to attached bug-001.png image.
        See that both images are side-by-side.
      3. Add an embed file element.
        See that the file won't allow anything else in the line.

      Attachments

        1. bug-001.png
          47 kB
          Eduardo Fernandes
        2. bug-002.png
          36 kB
          Eduardo Fernandes
        3. capture_001.png
          61 kB
          Eduardo Fernandes
        4. capture_002.png
          42 kB
          Eduardo Fernandes
        5. capture_003.png
          42 kB
          Eduardo Fernandes
        6. capture_004.png
          42 kB
          Eduardo Fernandes
        7. capture_005.png
          54 kB
          Eduardo Fernandes

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h