Text is Pushed onto a New Line After an Image

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

 

The View File macros are going away in a future release

Read more about this change or find out about a better way to insert Office and PDF files

Problem

Text after an image is always pushed onto a new line after the image, even though in edit mode the text is displayed correctly.

 

 

Image and text in edit mode

image and text in edit modeimage and text in preview/view mode

Diagnosis

Environment

  • Confluence Server

Diagnostic Steps

  1. Go to  > Add-Ons
  2. Select System from the dropdown
  3. Search for confluence-view-file-macro
  4. Confirm Add-on is deactivated

Cause

The confluence-view-file-macro includes CSS which overrides the regular CSS for attached images. Specifically a display: block

Resolution

You will need to re-activate the confluence-view-file-macro

  1. Go to  > Add-Ons
  2. Select System from the dropdown
  3. Search for confluence-view-file-macro
  4. Click Enable

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.