Text is Pushed onto a New Line After an Image
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
ファイル表示マクロは、将来のリリースで廃止される予定です。
Read more about this change or find out about a better way to insert Office and PDF files.
問題
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 preview/view mode |
診断
環境
- Confluence Server
Diagnostic Steps
- Go to > Add-Ons
- Select System from the dropdown
- Search for
confluence-view-file-macro
- Confirm Add-on is deactivated
原因
The confluence-view-file-macro
includes CSS which overrides the regular CSS for attached images. Specifically a display: block
.
ソリューション
You will need to re-activate the confluence-view-file-macro
- Go to > Add-Ons
- Select System from the dropdown
- Search for
confluence-view-file-macro
- Click Enable