January 31, 2024

Confluence Cloud insert image from web

I share here a workaround to insert web images in the Confluence Cloud new editor.

Problem description

The New/Fabric Editor in Confluence Cloud does not offer the possibility to insert an image from the Web by URL. See [CONFCLOUD-65749] Ability to add Images from web in the new editor - Create and track feature requests for Atlassian products.

Workaround

A workaround described here: Guide to Insert a Web Image Using the New Confluen... (atlassian.com) is to wrap the image link into a markdown syntax: and paste this markdown plain text in the editor.
It will then be interpreted by the editor.

Workaround solution (AutoHotkey)

I have implemented this in the NWS PowerTool IntelliPaste feature.

On the press of a hotkey (Default Ins key), the script checks if the active window is a Confluence window and if the Clipboard content is a web image link. In this case it pastes and extended plain text version following the workaround: 

![ALT TEXT](<imagelink>)

This avoids having to do the transformation and multiple copy/pasting manually.

No comments:

Post a Comment