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

Embed images displayed side-by-side in Online Editor

    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.
      1. bug-001.png
        47 kB
      2. bug-002.png
        36 kB
      3. capture_001.png
        61 kB
      4. capture_002.png
        42 kB
      5. capture_003.png
        42 kB
      6. capture_004.png
        42 kB
      7. capture_005.png
        54 kB

        Issue Links

          Activity

          Joao Pingo (Inactive) logged work - 13/May/14 4:43 PM
          • Time Spent:
            5 hours
             

            Tested and closed

            People

            • Assignee:
              Unassigned
              Reporter:
              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