Images shift left after adding links

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      When you add links to two or more images placed next to each other, the images automatically shift left after publishing. While editing, you can center-align them, but once published, linked images automatically shift left.

      Steps to Reproduce

      1. Create a Confluence page and add two images on top of one another
      2. Click the first image and add a link (internal or external).
      3. Click the other image and add a link to it.
      4. Center-align the images.
      5. Publish the page.

      Expected Results

      Once published, the images should be aligned as set in editing mode. 

      Actual Results

      Once published, the images shift left automatically. Consequently, the alignment set is not being applied.

      See recording: Screen Recording 2026-04-21 at 16.50.57.movScreen Recording 2026-04-21 at 16.50.57.mov

      The images incorrectly get converted to `inline-media-image` nodes

      Workaround

      Currently, one option to avoid images shifting left, would be to consider placing the link in the caption of the image. Or placing a "Divider" between each images. 

      That would be a workaround while our teams investigate this one. 

              Assignee:
              Unassigned
              Reporter:
              Eduarda F.
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: