-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Page - Editor - Cloud
-
None
-
Severity 3 - Minor
Issue Summary
When setting the image alignment to "Wrap left" or "Wrap right" next to some text block, it will only work if the text alignment is set to "Align left".
This behavior can be easily observed when using only Image and Text, but will be masked when mixed with other macros. For example, when running the same test within a "x Column layout" macro, the image and text may look good in the Editor mode, but will break when the page is published (the image will behave as if it were set to "Align left" instead).
Steps to Reproduce
Example 1:
- Create a new page and add 5 lines of text.
- Insert an Image and set its alignment to "Wrap left".
- Repeat steps #1 and #2, but this time set the text alignment to "Align center".
Example 2:
- Create a new page and add a "1 Column layout" macro.
- Within the layout, add 5 lines of text using "Align center".
- Add an image inside the same layout with "Wrap left" and position it on the left side of the text block.
- Publish the page.
Expected Results
Example 1: image appears wrapped on the left side of the text, both when the text is aligned left or centered.
Example 2: published version of the page matches the layout displayed in Edit mode.
Actual Results
Example 1: It's not possible to make the image "wrapped" while the text alignment is not "Align left".
Example 2: Despite appearing in the "right position" in Edit mode, when viewing the page, the image won't be in the same position, behaving as if it were set as "Align left" instead.
Workaround
Since most inconsistencies seem to happen between the Edit and View modes of the page, converting it to a Live Doc may allow setting the expected image/text alignment.